Skip to content

Instantly share code, notes, and snippets.

@addicted2sounds
Last active May 16, 2019 20:32
Show Gist options
  • Save addicted2sounds/c1d61fd7dda0f81339e7f1ab6d3b9575 to your computer and use it in GitHub Desktop.
Save addicted2sounds/c1d61fd7dda0f81339e7f1ab6d3b9575 to your computer and use it in GitHub Desktop.
Example config
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="Suite" parallel="classes" thread-count="5">
<listeners>
</listeners>
<parameter name="" value=""></parameter>
<test name="ExampleTest">
<parameter name="WEBSITE" data-required="true"/>
<parameter name="TITLE" data-required="true"/>
<parameter name="SEARCH_TEXT"/>
<packages>
<package name="com.automation.seleniumProject.tests"></package>
</packages>
</test>
<test name="PageTest">
<parameter name="WEBSITE" data-required="true"/>
<parameter name="TITLE" data-required="true"/>
<parameter name="SEARCH_TEXT"/>
<packages>
<package name="com.automation.seleniumProject.tests"></package>
</packages>
</test>
<test name="TitleTest">
<parameter name="WEBSITE" data-required="true"/>
<parameter name="TITLE" data-required="true"/>
<parameter name="SEARCH_TEXT"/>
<packages>
<package name="com.automation.seleniumProject.tests"></package>
</packages>
</test>
<test name="ScreenshotsTest">
<parameter name="WEBSITE1" data-required="true"/>
<parameter name="WEBSITE2" data-required="true"/>
<parameter name="WEBSITE3" data-required="true"/>
<packages>
<package name="com.automation.seleniumProject.tests"></package>
</packages>
</test>
</suite> <!-- Suite -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment