Test Steps
Last updated
Last updated
A Test Step is a defined as an "action" which can be performed on a web page. It can be defined in this case as single unit of a test script. A test step consists of many properties the main property being the ‘User Action’ which specifies the nature of the action which will be performed on the web page (eg "Click", "Set", "Go to url" etc)
Previously Created Project
Previously Created Module
Previously Created script
Test steps are comprised of three important components:
Action Type – what the step will do
Description - Realtive description for step
Element Locator & Value – what the step will interact with
Depending on the action type used, additional data and parameters may be required.
The first step we are going to create, and one of the most common first steps is a launch:
Launch is the action type used to open a website, serving as the essential initial step for executing scripts.
To navigate to the proper action, click the dropdown → "Launch" → "Go to url"
Next, enter a relevant description.
Lastly, copy and paste the following into the URL: https://www.google.com/
Click on Add Step button to add next steps to construct test steps.
Users have a range of step management options at their disposal for enhanced control and flexibility:
Parameterize Step: Users can Parameterize steps by introducing variables that can be dynamically replaced with values during execution, allowing for more versatile and data-driven testing.
Note: Refer TDM documentation for more information.
Enable Screenshot for Step: Users can opt to capture screenshots during the execution of a specific step, providing visual documentation / confirmation of the step's execution results.
Mark Step as Optional: For scenarios where certain steps are conditional or non-critical, users can mark steps as optional, ensuring test execution continues even if the step fails.
Insert Step: Users can insert new steps at any point within a Test Steps, enabling them to refine and expand their testing scenarios with ease.
Expand/Collapse Step: Users can expand or collapse individual steps, simplifying navigation through complex test cases and improving readability.
Users have a range of step management options to ensure efficient workflow:
Delete Step: Users can remove unnecessary steps with ease, keeping test cases concise and relevant.
Move Step Below: For better organization, users can rearrange steps by moving a selected step below another step.
Move Step Above: Similarly, users can enhance the order of steps by shifting a selected step above another step.
Move Step To: Users can relocate steps to a different position within the Test Steps by giving the step number, tailoring the sequence to the testing requirements.
Clone Step: By duplicating Steps, users can quickly replicate a step's actions and parameters, streamlining Test Step creation.
These versatile options empower users to maintain clarity, streamline processes, and adapt Test Steps to evolving needs.
Users have the various options to manage the Test Steps.
Save Test: Users can securely save their test progress, ensuring that their work is preserved for future use or modifications.
Clone Script: With a single click, users can duplicate an existing script, expediting the creation of similar tests while maintaining the original script.
Save and Update Test Scripts: After making edits in the Test Steps,you can effortlessly save and update the test script linked to a Test Suite in the Test Lab / Sprints.
Create Restore Point: Users can create restore points to capture a snapshot of their test script's current state. This allows them to revert to a specific version in case of unexpected changes or errors.
These robust options empower users to manage their test scripts effectively, streamline workflows, and ensure accuracy in testing processes.
Click on the "Save
" button.
Click on the "Save
" button.
Select the "Suite" which you want to update and click on Save
.
Note: This will update the particular Test Script of the selected Test Suite in the Test Lab / Sprints .
Click on the "Save
" button.
Enter the required details and click on Create Restore Point
.
Restore point will be created with the given details.
Auto Suggest: With intelligent auto-suggest functionality, You receive suggestions for steps based on the "description" it will relpace the "Action Type" , making test case creation faster and more accurate.
Auto Save: The auto-save feature ensures that your changes are saved automatically in 5 Minutes, minimizing the risk of data loss.
Edit Steps: Effortlessly fine-tune your test case steps with the edit option. Make necessary adjustments on the fly for precise test case definition.
Expand/Collapse Steps: Navigate through your test cases with ease by expanding or collapsing All steps. Simplify complex test cases for better readability.
The side panel offers users a range of powerful actions to supercharge their testing capabilities:
Record Steps: Seamlessly capture your interactions with the application using the Encapsulate extension. Easily translate the actions performed on the web site into Test Steps.
Create Function: Elevate your testing efficiency by crafting reusable functions. Define custom actions that can be applied across multiple test cases.
Import File: Save time by importing test data or scripts from external files. Integrate data-driven testing effortlessly into your workflow.
Script Linked to Suites: The list of the Suites will be displayed here to which the selected Script is linked.
With these versatile actions available in the side panel, you can take your testing to new heights, optimizing productivity and ensuring the highest quality for your applications.
Unlock the power of Global Variables, a feature that lets you create environment-specific variables and seamlessly integrate them into your test steps by appending the variable name with #variable#. Here's how to make the most of this capability:
Steps to Use Global Variables:
Click on the dropdown to select the "Environmnet"
Paste the copied variable into the field where you intend to use it.
This intuitive process empowers you to efficiently manage your data and configurations, making testing more flexible and dynamic. Experience the convenience of using Global Variables to enhance your testing workflow.
Select "Clone Script" from the dropdown.
Enter the required details and click on Save
.
Select "Save and Update Test Scripts" from the dropdown.
Select "Create Restore Point" from the dropdown.
You can navigate to the Versions tab in the right panel to Restore the Test Steps.
The side panel provides you with a range of convenient options to streamline the testing workflow:
Navigate to the 'Global Variable' tab in the side panel.
Select the desired environment from the dropdown which you want to access the variables.
Copy the required variable by clicking on the 'Copy to Clipboard' icon.