This set of three demonstration Features will help you get acquainted with Cycle. These downloadable examples all roughly accomplish the same task, but the approach increasingly improves with each example.
Demo Feature 1
One of the best ways to get comfortable with Cycle is to dive right in and create your first Feature File. It can be as simple as using Cycle to open Notepad, or open a browser and navigate to a website.
This Demo Feature will open a Chrome web browser, navigate to the User Portal, and log you in.
To use this Feature File, follow these steps:
-
Install the Chrome webdriver by using the the process described in the Web Testing section of the User Manual. You will need to install this webdriver before you can use web Steps, so why not do it now?
-
Download .zip and open the Feature File: Log_into_website
-
Update the username and password information in the Feature File and save it.
-
Click the Execute button to see the Feature in action!
Demo Feature 2
Building on the example Feature we saw in Demo Feature 1, this Feature and its accompanying CSV file will open the Chrome web browser and log you into the Cycle User Portal and Gmail. Storing website URLs, usernames, and passwords in the CSV file enables us to remove sensitive information from our Cycle script, and also consolidates information we may need to update or append.
To use this Feature, follow these steps:
-
Download and open the following zip file: Log_into_website_with_csv
-
Update the username and password information in the Logins.csv file and save it.
-
Click the Execute button to see the Feature in action!
Demo Feature 3
This Demo Feature will involve the use of the following:
The below set of Features will open the Chrome web browser and log you into the Cycle User Portal and Gmail, just as we did in New User Challenge 2. However, we have improved our Features here by using the three Cycle capabilities outlined above.
To use this set of Features, follow these steps:
-
Download and open the following zip file: Log_into_website_by_Reusing_Scenarios
-
If you did not already do so, update the username and password information in the Logins.csv file and save it.
-
Click the Execute button in the Log_into_websites_by_Reusing_Scenarios to see the Feature in action!
Comments
0 comments
Article is closed for comments.