run multiple classes sequentially in testng.xml -
i trying run multiple classes 1 1 using testng.xml of these running parallel. don't want them run in parallel . testng.xml luks this:
<test name="aia pod" preserve-order="true" annotations="jdk" > <parameter name="url" value="https://abc.com"></parameter> <parameter name="username" value="xaia/user"></parameter> <parameter name="password" value="passwd"></parameter> <classes>
running xml opens 2 browsers @ same time. want class run first , open new browser , run class b 1 time completed. in advance.
you need set parallel=false @ suite level accomplish this.
it might help if refer this understand how parallelism works using xml.
xml testng
No comments:
Post a Comment