Quality Testing

Quality is delighting customers

How to resolve this below error getting me during run my script to for multiple browsers?

Hello folks,

I am getting this error when i execute my script for run test on multple browser parallel?

"FAILED CONFIGURATION: @BeforeTest openBroswer 
org.testng.TestNGException:Parameter 'browser' is required by @Configuration on method openBroswer but has not been marked @Optional or defined in C:\Users\Narendral.WHITEHEDGE_DOM\AppData\Local\Temp\testng-eclipse--674094386\testng-customsuite.xml"

Please help

Regards
Narendra

Views: 738

Replies to This Discussion

It is very clear in the exception like it's a TestNG exception where u need to pass the browser argument as a parameter to the script using @optional or u need to pass in testng.xml file atleast, so that it will get resolved. If u can post the code we can tell clearly what and where is the problem. U can send me ur query at arjunbm13@gmail.com will resolve the same. Hope this helps :)

RSS

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2019   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service