The following pages and posts are tagged with

TitleTypeExcerpt
Amazon Shopping Cart Page GraphWalker is a open source Model-based testing tool for test automation. This page is an example where a test is designed using a Use Case document, and wh...
Appium Example Page The test The system under test is a simple android app called Notepad. It’s packaged with the test under: src/main/resources/Notepad.apk The test will install the Notepad app to the target device, and start running the test. The model to the right depicts the design of...
C-Sharp Websocket Example Page This is an example on how to use GraphWalker’s Websocket in order to run tests written in C#. Pre-requisites Download latest GraphWalker standalone jar Java JRE version 8 installed C# installed git installed Get the C# example source code git clone https://github.com/GraphWalker/graphwalker-example.git...
C-Sharp REST Example Page This example will run simulated test using GraphWalker started as a WebSocket REST service. Pre-requisites Download latest GraphWalker standalone jar Java JRE version 8 installed C# installed git installed Get the C# example source code git clone https://github.com/GraphWalker/graphwalker-example.git cd graphwalker-example/c-sharp-rest/SmallModel
Dependency Edge Coverage Example Page This is an example on how to use GraphWalker’s dependency edge coverage stop condition. Edge Dependency Definition In the real product usage not every edge from the designed (anticipated) model has the same importance. Some edges are more used than others, and therefore they have higher business value. One...
Docker Examples Page This explains how to use the pre-made GraphWalker Docker images. Pre-requisites You need Docker installed. Goto Docker - Get Started The Docker Image Library GraphWalker has couple of ready made Docker images in the Docker Image Library. Have a look a at GraphWalker...
C# example testing PetClinic using REST Page This is an example on how to implement a test using the PetClinic Sample Application. Pre-requisites Download latest GraphWalker standalone jar Java JRE version 8 installed Maven installed (version equal or greater than 3.2.3) C# installed git installed Latest Firefox installed Get and start...
Fixtures Page In some cases test execution requires preparation of environment, data or special settings. Such frameworks like JUnit and TestNG provide for that special annotations which can be triggered before suit or class or method or test. GraphWalker has the same functionality in the next list of annotations: @BeforeExecution...
How to create a small test from scratch Page Download and install the dependencies Install latest Java JDK, 7 or 8 Install the Maven Create folder structure From the command line, run: mkdir -p gw_test/src/test/java/ cd gw_test Create following file src/test/java/ExampleTest.java and copy and paste following...
Creating a boilerplate project using maven archetype Page This will show how to create a boilerplate GraphWalker project using the maven archetype. Download and install the dependencies Install the Java JDK, 7 or 8 will do Install the Maven Install the yEd editor Create a boilerplate project From the command line, run:...
How to create a Minimal, Working example Page This is a re-write fro GraphWalker taken from How to create a Minimal, Complete, and Verifiable example Asking for help When asking a question about a problem caused by your code or models, you will get much better answers if you provide code or models people can use...
Generators and stop conditions Page Path generators together with stop conditions will decide what strategy to use when generating a path through a model, and when to stop generating that path. Path generators can be daisy chained after each other. Multiple stop conditions can be used using logical OR, AND, ||, &&. Generators A...
Pet Clinic Example Page This is an example on how to implement a test using the PetClinic Sample Application. Pre-requisites Java JDK version 8 installed Maven installed (version equal or greater than 3.2.3) git installed Latest Firefox installed Get and start the PetClinic Sample Application git...
Tests parametrisation Page Tests parametrisation or data-driven testing is a design pattern which let you split test steps level from the data which you use for this steps. That is a quite popular approach in test automation and provide possibility to reuse/combine/change data for each test separately. It would be testing of login...