CrossBrowserTesting Support

Support

  • Product
    • Live Testing
    • Automated Testing
    • Record & Replay
    • Visual Testing
  • API Docs
  • Blog
  • Live Q&A
  • Start Testing
CrossBrowserTesting Support » Selenium Testing » Node » Protractor

Protractor

Protractor is a testing system for angular http://angular.github.io/protractor/#/

The setup of protractor tests are driven by the conf.js file. At the gist listed below there is an example conf.js that will work with CrossbrowserTesting.com


https://gist.github.com/tonetheman/0982b86eadabccca90e5

The capabilities object needs to include the extra information about which browser and operating system you are going to run on CrossbrowserTesting.com. You can get these constants from the example script on the Selenium page.

The other change is you must include your username/authkey in the capabilities object. Those two fields are called username and password respectively.

You can also test more than one browser at a time by using the multicapabilties, see this tutorial on the protractor tutorial.
http://angular.github.io/protractor/#/tutorial

Also see this example of what a conf.js should look like for multicapabilities. https://gist.github.com/tonetheman/5369e5e7f6cbd8d95e41
That example will run firefox32 and firefox31 on WinXPSP2 simultaneously. The simple todo-spec.js is herehttps://gist.github.com/tonetheman/7b1e4bc9a60377b304e6

Related

Selenium Starting Guides

  • Python
  • Java
  • JavaScript
  • PHP
  • Ruby
  • C#
  • Selenium 101

JavaScript Frameworks

  • Protractor
  • Cucumber
  • Nightwatch
  • WebDriverIO
  • InternJS
  • Karma
  • Mocha

More Help

  • Parallel Testing
  • Jenkins Integration
  • TeamCity Integration
  • Automation Capabilities
  • Local Testing

See Our GitHub Examples


 



Think you need a human?

Our customer success team will be glad to help you with your question.

Contact Support

Still need a free trial?

Try CrossBrowserTesting free for 7 days and see how we make testing easier.

Start Today

Want the latest tips?

Enter your email and we’ll send you tutorials and browser testing strategies right to your inbox.


Product

  • Live Testing
  • Automated Testing
  • Visual Testing
  • Local Testing
  • Integrations

Resources

  • Browsers & Devices
  • Blog
  • Webinars
  • Security
  • ROI Calculator

Support

  • Help Center
  • CBT Community
  • API Docs
  • Automation Docs
  • Schedule A Demo
  • Enterprise Request

Company

    • About Us
    • Contact Us
    • Careers
    • Terms of Use
    • 1-888-927-6973

© 2019 CrossBrowserTesting.com, LLC. All rights reserved.