Typical contents of a .xml file??? | Selenium Forum
M
Posted on 29/03/2016
Was asked abt typical contents of .xml file ...

Ans :<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="My suite" parallel="tests">
<listeners>
<listener class-name="com.qtpselenium.listener.TestsListenerAdapter" />
</listeners>
<suite-files>
<suite-file path="./Suite_A.xml" />
<suite-file path="./Suite_B.xml" />
<suite-file path="./Suite_C.xml" />
<suite-file path="./RediffPortFolio.xml" />
</suite-files>
</suite>

==================================================
[b:jet05yye]Issue:[/b:jet05yye]: was asked where'z thread tag here ?????? Don't u use thread for parallel execution ?

Please explain further ....about threads being used.....

M
Replied on 30/03/2016

i'm not able to understand your problem. could you explain it again.


M
Replied on 31/03/2016

Sir,

This is the testNG.xml...

Interviewer asked me .. general contents of TestNG.xml file...& asked me to explain Threads tag used in xml file.

Need more info on threads tag being used in testNG.xml file.


M
Replied on 31/03/2016

general xml content





[quote:11e3vpdw]<listeners></listeners>
<test>
<classes> </classes>
</test>
[/quote:11e3vpdw]