2022 Developer Survey is open! Take survey.
2 votes

How to configure testing for different environments, databases, etc

In addition to Michael's answer, if you have a continuous integration or continuous deployment environment, you can configure your environment to set different values in the test config file to match ...
user avatar
  • 30.7k
2 votes

How to configure testing for different environments, databases, etc

Use environmental variables, e.g. $> $> environment='UAT' $> You will need to export them to make them available in other processes, e.g. $> export environment='UAT' You can then ...
user avatar
1 vote
Accepted

Protractor console logs when run with directConnect:True

directConnet=true bypasses SeleniumServer and execute against Chrome driver and Firefox driver. If you are using other than chrome or firefox browser, you will get an error. Refer this: http://www....
user avatar
  • 126
1 vote
Accepted

How to get browserName in protractor

Maybe try browser.getProcessedConfig instead of getCapabilities, because I cant find that in the Protractor API documentation. Get the processed configuration object that is currently being run. ...
user avatar
1 vote

How to configure testing for different environments, databases, etc

You can use an external file such as a properties file to store environment variables. Your automation framework can read from the file to determine which base URLs and authentication tokens you ...
user avatar
  • 589
1 vote

How to start Architect and build the test infrastructure on Azure Cloud?

You need to provide more details, or come up with more specific questions over time. We don't even know what type of product do you have. In the meanwhile I can add some points from experience, some ...
user avatar
  • 6,936

Only top scored, non community-wiki answers of a minimum length are eligible