This is a simple example of using the GraphWalker framework with Selenium. You can go to my blog to read the Graphwalker: A Simple Example with Selenium article. (But it is written in Chinese.)
Test the Wine World website path from Home page to Product page and ProductDetail page.
- Java 8 or higher (I use 19)
- Maven 3 or higher (I use 3.9.0)
- Clone the repository
$ git clone https://github.com/huanginch/graphwalker-SimpleExapmle.git- Build the project
$ cd graphwalker-SimpleExapmle
$ mvn clean install
$ mvn graphwalker:generate-sources- Run the test
$ mvn graphwalker:testThe model is defined in the WineWorld.json
Use the GraphWalker Studio to view the model.