1.JAVA installed globally in the system.
2.MAVEN installed in system.
3.Compatible chromedriver path should be set in your system and in application.properties file if it is present in your project folder for command line execution.
- This is sample project with QAF directory structure. This project uses Maven as build tool and hence you can configure dependencies in pom.xml file as normal Maven based project.
- The 'config' directory contains different xml files, and is a place holder for configuration files.These xml files are TestNG configuration files. please read this Documentation.
- The 'resources' directory contains all required resources including properties files and data files, and is a place holder for resources.
- The 'src' directory contains all java files and is a place holder for other java files.
- The 'test-results' directory will contain result files.
- The 'scenarios' directory is the default place holder for all the scenario files (BDD files).
Using QAF it is very easy to execute test scenarios of different platforms.
To run Tests of different platforms QAF requires few configuration to be done.
Please follow this Guideline.
You can get complete Property list available with QAF here
-
To run the project from command prompt, go to project home.
mvn clean test
-
To run project using Tags :
mvn test -Dgroups=tag1,tag2
-
This project works best with JDK 8. if using other any JDK version, please update pom.xml dependencies accordingly
'QMetry Report'
Note:
This sample project uses chrome driver and it requires chrome driver binary.
You need to download and set webdriver.chrome.driver property in application.properties file with driver binary path.
Please refer complete QAF Documentation
For Integration with QTM, refer this
QMetry Team.