Turn your manual testers into automation experts! Request a DemoStart testRigor Free

How to Automate Add Friend Testing

Automating testing is an important aspect of software development. It helps to ensure that software systems function as intended and that any changes made do not break existing functionality. One common scenario that developers may want to automate testing for is Add Friend. There are several ways how to do it. The simplest and most effective is to use testRigor with steps written in plain English. This will allow you to achieve several goals at the same time:
  • Test stability - as soon as the Eglish-level description stays true test won't fail
  • Collaboration - anyone, including Product Managers, Engineers, Manual Testers, etc. will be able to understand the script and review/contribute to it
  • It can be written even before functionality is released
  • Minimal maintenance is required. No changes are needed until the specification changes
The example of the test for Add Friend in testRigor is this:
login
grab value from "Friend" and save as "friendsNumber"
enter "James Gatsby" into "Search"
enter enter
click "James Gatsby"
click "Add Friend"
check that page contains "Request Send"
check that page contains "James Gatsby accepted your request"
click "Home"
check that page contains expression "Friends ${friendsNumber}+1"

As you can see, the steps are easy to understand and self-explanatory.

This allows developers to write test cases quickly and efficiently, reducing the time and effort required for testing.

In conclusion, automating testing for Add Friend is essential for ensuring the quality and stability of software systems. By using testRigor to write test cases in plain English, anyone can achieve several goals at once, including test stability, collaboration, early testing, and minimal maintenance. If you are interested in trying out testRigor for yourself, you can create a free account and start writing test cases today.

Related Articles

All-Inclusive Guide to Test Case Creation in testRigor

Test cases fuel test automation tools. Over the years, the process of automating these test cases has undergone many changes. ...

How to Create Tests Using Live Mode in testRigor?

testRigor offers a unique capability known as the ‘Live Mode‘ to create and validate test cases. Using it, you can ...

How to Automate Web Testing with testRigor

Web testing plays a crucial role in the software development lifecycle, allowing web applications to function correctly, provide ...
On our website, we utilize cookies to ensure that your browsing experience is tailored to your preferences and needs. By clicking "Accept," you agree to the use of all cookies. Learn more.
Cookie settings
Privacy Overview
This site utilizes cookies to enhance your browsing experience. Among these, essential cookies are stored on your browser as they are necessary for ...
Read more
Strictly Necessary CookiesAlways Enabled
Essential cookies are crucial for the proper functioning and security of the website.
Non-NecessaryEnabled
Cookies that are not essential for the website's functionality but are employed to gather additional data. You can choose to opt out by using this toggle switch. These cookies gather data for analytics and performance tracking purposes.