Script Execution in algoQA

Modified on Fri, 9 Jan at 12:27 PM

TABLE OF CONTENTS

1. Overview

2. How to Execute Scripts in algoQA from Test Scripts Page

3. How to Execute Scripts in algoQA from Test Scripts Page once the Script is Generated

1. Overview

This article provides detailed information on the process to be followed for executing scripts in algoQA. You can execute scripts directly from the Test Scripts page. Scripts can run in Headless or GUI mode, with options to upload reports to dashboard, use custom tags to execute particular scenario from the script, enable auto-healing. Execution progress and results can be monitored on the Script Execution page, and detailed summaries and logs are available after completion.


Note: This feature is currently available only for Java Selenium, Python Selenium and TypeScript Playwright frameworks.


Note: This feature is currently disabled for all users. Please reach out to the sales team sales-team@algoshack.com or raise a ticket to have it enabled.

2. How to Execute Scripts in algoQA from Test Scripts Page

  1. Once the script has been generated, a play icon button will be available next to the script on the Test Scripts page. Click the icon to execute the script.
  2. The Script Execution Process pop-up window will appear.
  3. Choose whether you want to execute the script in Headless mode or GUI mode. In Headless mode,  the execution runs in the command prompt without displaying the execution UI. When GUI mode is selected then you can view the execution preview with command prompt and you can also view them in full screen and minimize back if you don't want to see in full screen.
  4. If you want to upload the execution report to the dashboard, select the I agree to upload the script execution report automatically to the dashboard checkbox and enter the batch name and test suite name in the respective fields.
  5. If you want to execute the script with a custom tag, select the “Do you want to execute with custom tag” checkbox and enter the tags.
  6. To enter tags, Type a tag and press Enter, Comma or Space to add one or more tags which will run the test case associated with that particular tag.
    Note: The option to execute scripts using a custom tag is currently available only for the Java and Python Selenium frameworks.
  7. If automatic autohealing is required during execution, enable the Do you want to autoheal the script during execution checkbox.
    Note: The auto-healing feature during script execution is currently supported only in the Java Selenium framework.
  8. After selecting the required fields, click Proceed.
  9. The Script Execution page will appear, where you can also view the execution pipeline with live execution preview. From this page, you can see all previously executed scripts.
  10. A green tick mark indicates that the script has been executed. Click on it to view the status log.
  11. On the Script Execution page, a Filter option is available next to the search field. You can:
    Filter by date: Today, Last Week, or Custom.
    Filter by user: select a name from the Executed By dropdown.
    Filter by status: choose from Completed, Failed, Terminated, Queued, or Running.
    After selecting the desired filters, click Apply to view the results.
  12. If you had choose GUI mode then you can view the execution preview with command prompt and you can also view them in full screen and minimize back if you don't want to see in full screen.
  13. When Headless mode is chosen, the execution runs in the command prompt without displaying the execution UI.
  14. After the script execution is complete, select the script to access the Execution Summary, Tests Summary, and Pipeline Summary details.
  15. The Execution Summary section displays key information about the script execution, including Execution Mode, Status, Start At, End At, Executed By, Batch, Test Suite, and Tag.
  16. The Tests Summary section provides an overview of the test results, including Total Tests, Passed, Failed, Skipped tests, and the Duration of execution.
  17. You can download the execution report by clicking Download and view the execution log by clicking Execution Log.


3. How to Execute Scripts in algoQA from Test Scripts Page once the Script is Generated


  1. In the Test Case Generation page, after the test cases are generated, click Generate Script.
  2. The Script Generated Successfully message will appear. Once the script is generated, click the Execution button.
  3. Follow step no 2 to 17 from previous section

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article