-
Notifications
You must be signed in to change notification settings - Fork 11
Exercise 3 Run Your First Test
cjayswal edited this page Nov 9, 2016
·
2 revisions
In this Exercise, we will do required run configuration and run the test on chrome browser.
You can download it from here
open application.properties
file and set following properties
env.baseurl=http://www.google.com/
driver.name=chromeDriver
webdriver.chrome.driver=<location_of_chromedriver>
Create/open testrun_config.xml
under config directory
<suite name="QAF Example" verbose="0">
<test name="BDD Test">
<classes>
<class name="com.qmetry.qaf.automation.step.client.text.BDDTestFactory" />
</classes>
</test>
</suite>
<suite name="QAF Example" verbose="0">
<test name="JAVA Test">
<packages>
<package name="qaf.example.tests" />
</packages>
</test>
</suite>
Right click build.xml and run as ant build. You also can right click xml configuration file and run as 'TestNG Suite'
Open dashboard.htm
in Firefox.