I am getting following error whenever I am trying to run the tests on Azure DevOps cloud.
Though it sounds illogical, I tried to set path of my local machine, it did not work.
I already gave dependency for selenium and java in pom.xml, it did not work.
I also tried to upload the geckodriver online and used that path in pom.xmo, it did not work.
Instructor
Ashish Thakur Replied on 02/08/2019
Have you set the web driver executable path in your code?
Here is the snippet of my code that is launching the browser fine when I run the test as TestNG, run as Maven in local, and individual .class file.
But, when I run the test in Azure DevOps cloud, it gives error as mentioned earlier.
Instructor
Ashish Thakur Replied on 07/08/2019
As i noticed your code snippet, i can see that System.setproperty part for webdriver.gecko.driver is commented out which is causing the issue
Additionally, keep the executable directly in the system itself.
Please close this for now. Thanks.