QAS is a powerful software testing platform that provides a comprehensive suite of tools to streamline and optimize your testing process. You can create, manage, and execute test cases with ease and efficiency. QAS also allows to import the test cases from the existing projects. You can import the test cases from a source project to a target project.Qualitia Automation Studio (OAS) lets you import test cases from another project to cover similar testing scenarios in your project.
The import task process involves two types of projects:
Import Project: The project from which you want to import the test cases in the current project.
Current Project: The project to which you want to import the test cases.
📚Prerequisites
User should have the QAS client installed.
Projects should have been created.
User should have been assigned to the project.
A test scenario should exist.
🔑Privileges
User should have the below privileges to:
Import Feature: Import test cases or other project elements.
Manage Custom Action Code: Oversee the custom action scripts in projects.
Manage Objects: Control the objects within the testing environment.
Manage Scenarios: Control the scenarios within test suites.
Synchronize Objects: Keep test objects synchronized.
Test Development: Create and update test cases.
Import a Test Case
To import a test case:
Login to QAS - Client.
Access Develop from left navigation to view the Test Explorer screen.
Select the target current project for which you want to import the test case from the top menu.
Now, access Import from left navigation to view the Imports screen.
Select the source import project from where you want to import the test case using the Project dropdown (below the hamburger menu or the menu with three horizontal lines).
Once the source import project is set, select Test Cases.
Under Test Cases, there are three sections.
New: Thetest cases that are part of the source import project and are never imported to the target current project are listed in this section. These test cases can be imported if required.
Conflicted: If the test cases are imported and later any changes are made to those test cases, either in the source import project or the target current project, they will appear under the Conflicted section.
Matching: The test cases that are imported without making any changes to the existing test cases, in source import as well as the target current project, can be viewed under this section. When a test case is imported, it will be directly moved from the New sectionto the Matching section.
To import, select the test case and click Import.
You will see a message Do you want to import Test Case alongwith the options Without Data and With Data. Select Without Data or With Data depending on if you don’t want or if you want to import the test data. Then click Confirm to continue.
After clicking Confirm, a pop-up window will appear with Select Scenario to import Test Case message and a drop-down to select a scenario. Select Scenario and click Confirm to continue.
Once the import is complete click Finish.
You have successfully imported a test case.
Bulk Import:
You cannot modify any test case in the import module. It is a read-only mode. If you want to edit or modify a test case, you need to go to the develop tab.
Update a Conflicted Test Case
Conflicted test cases are those test cases that were already imported in the current project, but either their steps in the import project or the current project have changed.
After a test case is imported, the test case ids of the task in the import project and the current project are same. Hence, whenever a test case is edited in the import or the current project, the test case is displayed under the Conflicted test cases even if you change its name in the import or the current project.
To update a conflicted test case:
Login to QAS - Client.
Access Develop from left navigation to view the Test Explorer screen.
Select the current project for which you want to import the test case from the top menu.
Now, access Import from left navigation to view the Imports screen.
A list of test cases under New, Conflicted, and Matching is displayed.
Under Conflicted, click the test case that you want to import.
Both the imported test case and the current test case opens in the main pane.You can know the differences between these two test cases in the following ways:
Steps marked in red color and red icon indicate that they will be removed from the current test case after the test case is imported.
Steps marked in green color and green icon indicate that they will be added to the current test case after the test case is imported.
Objects, custom actions, and parameters marked in red color indicate that their values are different, which will be replaced after the test case is imported.
Steps marked in minus sign indicate that parameter values are different, which will be replaced after the test case is imported.
In the left pane, you can see the Current Test Case and in the right Imported Test Case.
Compare the changes and click Import from the top-right corner if you want to import the updated test case.
Clicking Import will open an Import Test Case pop-up. Click Confirm to continue; otherwise, Discard.
The main pane does not allow you to dry run or make any changes to the test case.
Import Test Cases in Bulk
You can import either multiple new test cases or multiple conflicted test cases in a single go.
To import test cases in bulk:
Login to QAS - Client.
Access Develop from left navigation to view the Test Explorer screen.
Select the current project for which you want to import the test case from the top menu.
Now, access Import from left navigation to view the Imports screen.
Select the import project from where you want to import the test case using the Project dropdown (below the hamburger menu or the menu with three horizontal lines).
A list of test cases under New, Conflicted, and Matching is displayed.
Click the bulk import icon from the top-right corner of the Imports screen.
Select the test cases you want to import. Click Import to continue; otherwise, Discard.
You will see a message Do you want to import Test Case alongwith the options Without Data and With Data. Select Without Data or With Data depending on if you don’t want or if you want to import the test data. Then click Confirm to continue.
After clicking Confirm, a pop-up window will appear with Select Scenario to import Test Case message and a drop-down to select a scenario. Select Scenario and click Confirm to continue.
Once the import is complete click Finish.
You have successfully imported a test case.
All the test cases for bulk import will be imported in the scenario you have selected.
💡Golden Nuggets: Best Practices for Importing Test Cases
📞📚 Here to Help: Support and Resources
If you have questions that are not addressed in the documentation, you may raise them in the Qualitia Community.
...