Configuring browser on local #77
-
I changed target=local (in general.properties) and browser = firefox (in local.properties) but the browser that will start is chrome. I do not have any other env variables with browser name. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @carabusu , The chrome is in use because it's the default browser set in the BaseWeb class. When you want to run in different browsers we must either change the
You can easily change the existing test suite local.xml. Please, let me know if you have any other questions. |
Beta Was this translation helpful? Give feedback.
-
Hi @eliasnogueira Appreciate your efforts in producing the f/w and for your response to my query. --Venkata Nutalapati |
Beta Was this translation helpful? Give feedback.
Hi @carabusu ,
Thanks for your issue.
The chrome is in use because it's the default browser set in the BaseWeb class.
The single test execution via the test class was meant to execute via
chrome
all the time.When you want to run in different browsers we must either change the
@Optional
parameter tofirefox
or run the tests via a TestNG test suite setting the parameter value as FirefoxYou can easily change the existing test suite local.xml.
Please, let me know if you have any other questions.