Call Test Data Profile in Testcase
Last updated
Last updated
This guide offers detailed, step-by-step instructions on how to call a test data profile within a test case. It covers navigating to the relevant sections, adding the appropriate steps, selecting the desired test data profile, and configuring the start and end parameters. By following these steps, users can ensure the seamless integration of test data profiles, allowing for more accurate and efficient test execution. This guide is essential for users looking to automate and enhance their testing process by properly managing and applying test data profiles.
Here’s an interactive demo to quickly guide you through the process. Use it to explore the steps in an engaging, hands-on way.
Prefer detailed instructions? Here’s a comprehensive step-by-step guide to walk you through the process at your own pace.
Navigate to Test Development Section
Click on Testcase
Select the necessary test case.
Add a step which will contain the loop
Click on the action button to get a dropdown
Click on For Loop from the dropdown menu
Click on the Test Data Profile and select the data profile
Here we are selecting ActiveCollab as our test data profile
Click on the Start Loop Dropdown
Select the Starting Data point
Click on the End Loop Dropdown
Select the Ending Data point
Click on Create to save the changes
Click on Reorder to change the order of the test case such that the test step runs inside the loop
Reorder to the necessary step to the necessary place
Click on Update
Click on the Three Dots next to the name of the test case
Click on Edit to make the necessary changes
Add the necessary Data Profile
Add the necessary Test Data Profile
Toggle Data Driven
Click on start to select the starting variable
Select the Start Variable from the dropdown, this is to specify the start of the loop
Click on end variable to get a drop down
Select the End Variable to add the ending off the loop
Click on the Update to save the changes made to the test case
Click on Pencil Icon to edit the step
Remove the test data from the step
Click on Parameter to select a parameter variable
Select the necessary Variables as parameter variables
Click on Update to save the changes
Repeat the same to Set Parameter for another step
Click on run to run the test case
Select the test case that was run to View Details
Click on Run details to view the details of the test case