TestNG.xml file is use to run the test in batch mode . below is the format for testng.xml file
Save the below could as build .xml file report and run it , all the method associate with this testNG.xml file will executated
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
// This is the Suite name is which can be any thing
<suite name="LeadForm">
// This is the test name . again it can assign as per the our convenience
<test name="google Lead Form Home Equity Service" >
<classes>
// This is the name of class and it is case sensitive hence hQF is package name and HomeEquity is class name
<class name="hQF.HomeEquity"> </class>
</classes>
</test>
<test name="google Lead Form Refinance" >
<classes>
<class name="hQF.Refinance"> </class>
</classes>
</test>
<test name="google Lead Form Dept Service" >
<classes>
<class name="hQF.DebtConsolidation"> </class>
</classes>
</test>
<test name="google Lead Form New Home Service" >
<classes>
<class name="hQF.NewHomeLoan"> </class>
</classes>
</test>
</suite>
No comments:
Post a Comment