Create Basic Test Case
Steps to record your first test case:
- This process uses the CloudQA extension to record and run a simple workflow.
1. Add a test case (Initiate the recording):
-
Navigate to your application .
-
Click the CloudQA extension icon and select "Record automated test" .
2. Record actions and validations:
-
Perform the sequence of actions for your test.
-
Right-click on elements to add essential Assertions (validations) for success messages or expected text.
Saving the Test Case:
Click the extension icon, enter a name for your test case , and click Save .
Additional Options:
-
Assertions : CloudQA allows you to add assertions during test recording to validate that your application is behaving as expected. There are three types of assertions you can use:
-
Matches – checks if an element’s text exactly matches the expected value
-
Contains – verifies that the text includes a specific word or phrase
-
Exists – confirms that the element is present on the page
-
To add an assertion, right-click the element during recording and choose the desired assertion type. Similarly, you can
-
Hover action—used to reveal menus, dropdowns, or tooltips—by right-clicking the element and selecting Hover while recording.
-
Click Edit Test Case to open the test case editor, or Execute Test Case to run your newly saved test.