- This repo contains example code for implementing Page Factory model in Selenium using @FindBy, @FindBys and @FindAll annotations.
- Maven is used as build tool in thies project.
- TestNG is used as testing framework for organizing and running tests and performing Assertions.
- How to implement Page Factory model in Selenium WebDriver?
- How to use @FindBy annotation in Selenium?
- How to use @FindBys annotation in Selenium?
- How to use @FindAll annotation in Selenium?
-
To run the test from command line use the following command:
mvn clean test
-
To run the tests using TestNG in intelliJ:
- Right click on
testng.xml
and selectRun '...\testng.xml
- Right click on
- Discuss your queries by writing to me @
mohammadfaisalkhatri@gmail.com
OR ping me on any of the social media sites using the below link: