In this chapter, we will discuss a sample scenario in Testsigma's sample application, which we are going to automate in this tutorial.
Testsigma offers 2 sample web applications for you to try out different test case scenarios:
- Simply Travel, a sample flight booking web application, And
- Sample Components, An application that has many elements like dropdown menus, frames, sliders, checkboxes, etc to test different actions on a web page.
You would find both these sample applications in http://examples.testsigma.com/
For this tutorial, we will learn to automate a simple workflow on 'Simply Travel'.
As you must have noticed, the Simply Travel application can be used to perform automation testing of a flight booking process from one city to the other.
We would learn how to navigate to the Simply Travel application, verify that correct flight details appear in results when a user searches for a flight after selecting ‘Departure city’, ‘Arrival city’ and ‘date of departure’ and click.
Corresponding Test steps will be:
Navigate to Simply Travel website login page: http://travel.testsigma.com/login
Enter username - admin
Enter password - 12345
Click on Login button
Verify the URL is http://travel.testsigma.com/?name=admin&password=12345&action=
Check the checkbox - Non Stop
Click on Departure Date picker
- Click on today's date
Click on OK
Click on Search Flights
Verify the arrival location
Below, is an image of the Simply Travel Web App:
In Testsigma these test steps are written in plain English making it easy for anyone to read and write.
You will learn how in the upcoming chapters.
Introduction to Testsigma’s simple English based approach
Testsigma simplifies test case creation while providing advanced features to tune tests for the most complex scenarios. Testsigma offers scalable execution on real devices, and reduces tedious maintenance work, and lets you analyze test case failures easily.
For any application type, test steps are created using an NLP based approach that is easy and well suitable for the most complex interfaces.