mfaisalkhatri / selenium4poc

Learn Web Automation testing using Selenium Webdriver 4.
https://mfaisalkhatri.github.io
Apache License 2.0
178 stars 71 forks source link

The parallel level is test,how to change it become method? #114

Closed qdyzw closed 1 year ago

mfaisalkhatri commented 1 year ago

That can be changed using the testng.xml file, you need to change the parallel attribute to methods. However make sure that you handle the tests correctly at method level.

<suite name="Test Suite Name" parallel="methods">
qdyzw commented 1 year ago

in your framework,if i just change the parallel attribute,it will work ?

mfaisalkhatri commented 1 year ago

No, I have designed it to run at test level not at method level.