Header

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Qualitia Automation Studio (QAS) enables you to rectify the errors in the Test Case using the Error Toolkit. Error toolkit is an information-based toolkit, which cannot be edited, deleted, or modified.

📚Prerequisites

  1.  User should have the QAS - Client installed.

  2. User should be assigned to an existing project.

  3. A test scenario should exist.

🔑Privileges

User should have the below privileges:

  • 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. 

You can save the Test Case with an error but cannot execute.

You cannot execute a test case with an empty object. QAS - Client will show an error for an empty object. It will show a red box around the line number and a red-doted underline for Object, Action, Test Case Name, and Scenario Name.

To check the errors in the test case:

  1. Login to QAS - Client.

  2. Access Develop from left navigation to view Test Explorer screen.

    1. On the Explorer section, you can view existing Test Scenarios.

  3. Click the Expand option on a test scenario, where you can view all its test cases.

  4. Open the test case for which you want to view the error information.

  5. Click Error Toolkit icon at the bottom-left corner of the Test Explorer screen.

  6. Clicking Error Toolkit icon will open the Error Toolkit explorer.

  7. On the Error Toolkit explorer, you will see five different tabs.

    1. Current Test Case: It will show errors for the selected test case. If there are no errors, it will display a message There is no error in the Current Test Case. In case of an error, QAS will reflect a related message. For example, if a test case step is empty, it will display Test case step is empty. Select an action.

    2. Test Cases: This field shows the count of test cases with error for a scenario. For example, if a project scenario consists of three test cases out of which two have errors, so the count shown will be Test Cases (2). Under this tab, you can view information such as the Serial Number, Type of Errors with a search option, Line Number, No of Errors, Updated By, and Updated On.

      • Type of Errors: This will show all test case names with hierarchy of errors. By double-clicking on the error, you can load the test case in the Test Case explorer and the error will be highlighted.

      image-20240123-114944.png
    3. Tasks: This field shows the count of tasks with error. Under this tab, you can view information such as the Serial Number, Type of Errors with a search option, Line Number, No of Errors, Updated By, and Updated On.

      • Type of Errors: This will show all task names with hierarchy of errors. By double-clicking on the error, you can load the task in the Task explorer and the error will be highlighted.

    4. Objects: On the Objects tab, you will see an error if you have an empty object. You will see a message Add locator type and value for the object. By double-clicking on the error, you can open the Object explorer and edit the object.

    5. Custom Actions: On this tab, you will see errors related to the custom action. By double-clicking on the error, you can open Edit Custom Action screen and edit the custom action.

  8. The Test Cases, Tasks, Objects, and Custom Actions tabs consists of the following columns:

    1. Serial Number: Lists the number of rows.

    2. Type of Errors:

      • This column will display all the errors related to test cases, tasks, objects, and custom actions that are used in test cases. Errors for the tasks, objects, and custom actions that are not used in the test cases are not reflected in the Test Cases tab.

      • You can expand or collapse the Types of Errors using the Expand (+) and Collapse (-) options.

      • By single-clicking on the type of error, you are redirect to the test editor and the row with the error is highlighted in blue.

    3. Sync Testcases: You can sync test cases by clicking Sync Testcases.

    4. Search: You can use this field to search type of errors.

    5. Line Number: This column displays the Editor test case step or task line number where error has occurred. If user double-clicks on the line number, then the respective line gets highlighted in blue on develop section.

    6. No of Errors: The total number of errors for a respective test case, task, object, or custom action is displayed in red in this column.

    7. Updated By: The name of the user who has created or updated the test case is displayed in this column.

    8. Updated On: The date and time when the test case is last updated is displayed in this column.

  9. Refresh: In case of multi-user, if user1 made changes then user2 will be notified by a Red Dot near the refresh button. If you want to apply the changes made by user1, click Refresh.

Once you resolve the error by making the suggested changes, the errors will be automatically gone from the Error Toolkit.

If you create an empty object but it is not used in any of the test cases, the respective error will only be visible on the object tab in the Error Toolkit.

Similarly, if the created custom action has an error and if it is not used in the test case, the error will only be reflected in the custom action tab.

Types of Error

Error Type

Description

Test case step is empty. Select an action.

This error will occur if a test case step is added without adding objects or actions.

Task step is empty. Select an action.

This error will occur if a task step is added without adding objects or actions.

Add an Action for the object in the test case step.

OR

Add an Action for the object in the task step.

If any action is not added for an object, the appropriate error will be displayed in the error toolkit.

Add Locator Type and value for the object.

If the created object does not include any locator type and value, the Error Toolkit will show the appropriate empty object error in the Objects tab.

Empty object used in test case step. Set locator type and value in the object.

OR

Empty object used int task step. Set locator type value in the object.

If the empty object is used in any test case or task, the Error Toolkit will show the appropriate empty object error in the Test Case and Task tabs.

Deleted object used in test case step.

OR

Deleted object used in task step.

In the multi-user scenario, if the object used in a test case or task has been removed from the object repository by a user, the other users will get this error.

Custom Action Class file is missing. Reopen Eclipse from Custom Action Toolkit to generate the class file.

If the ".class" file is missing, you will be notified that the custom action has an error.

Deleted custom action used in test case step. 

OR

Deleted custom action used in task step.

This error message will be displayed if a deleted custom action is used in a test case or task. [Multi-user scenario]

Include conditional expression in the Conditional Structure. [Mention If Else]

OR

Include conditional expression in the Conditional Structure of a test case condition.

OR

Include conditional expression in the Conditional Structure of a task step condition.

If the blank expressions are used in the conditional blocks, these error messages will be displayed.

Invalid conditional expression in IF conditional structure of a testcase condition. Check if you have used assignment (eg:{a}={b}) for comparison. Assignment operator is not allowed in expression. please use comparator operator (==).

If an assignment operator is added instead of the comparison operator, this error message will be displayed.

Add Parameter value (for Action) to test data.
Add parameter value to test data or add $NULL$ for empty value.

This error message will be displayed if the action added for the test case or task has a clear parameter text box on the test data.

Parameter name mismatch between test data and test case.

If different parameters are added for the same action on test data and test case, this message will be displayed.

📞📚 Here to Help: Support and Resources

Need some assistance? Don't hesitate to contact your Qualitia Relationship Manager. For additional resources, our official Qualitia documentation and community website are just a few clicks away! Experience an effortless journey with Qualitia Design Studio.

  • No labels