I am using selenium webdriver with java and TestNG framework. One of my testcases is to schedule backup and check if backup occurs on scheduled time. after the backup is initiated at given time, it takes 12 min approx to finish backup. I want to switch to other testcases meanwhile . Any ideas on how it can be accomplished using selenium webdriver
Yes you can achieve this through parellel
attribute in TestNG. The parallel attribute on the tag can take one of following values:
<suite name="My suite" parallel="methods" thread-count="5">
<suite name="My suite" parallel="tests" thread-count="5">
<suite name="My suite" parallel="classes" thread-count="5">
<suite name="My suite" parallel="instances" thread-count="5">
For more details see testNG doc. http://testng.org/doc/documentation-main.html#parallel-tests
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.