Is it possible to run cross browser testing from TestNG with selected test cases on selected browser? For example. 1 - 5 test cases on IE and 6-10 on chrome etc.
Thanks, Sudhakar
Is it possible to run cross browser testing from TestNG with selected test cases on selected browser? For example. 1 - 5 test cases on IE and 6-10 on chrome etc.
Thanks, Sudhakar
Yes, this is possible Let me show you how i have done this
Into TestNG suite file i will give browser name as parameter
Now add the code to fetch browser name in beforeTest method
Now initialize browser into beforeMethod