Execution of algoQA generated Test Scripts in TestComplete and Viewing the Report

Modified on Sun, 28 Apr at 4:56 PM

Prerequisites

  • Click here to install TestComplete.
  • Click here to install Chrome Browser for running web applications on a Desktop.

 

Downloading the Script

Perform the following:

  1. Navigate to the folder where the algoQA generated scripts are uploaded. Sample script is attached. 
  2. Download the script and extract the contents to your local folder.
     

Uploading the script onto TestComplete Tool

Perform the following: 

  1. Navigate to the folder where you have downloaded the algoQA generated script. 
  2. Import this script into the TestComplete tool in the respective environment. This algoQA generated script will work as a TestComplete project.
  3. Double-click on the TestComplete project suite file to open the scripts in the TestComplete tool.


    Tip: Double-click the project suite file with the extensions, such as .mds and .pjs to open the entire scripts in the TestComplete.


    After opening the scripts in the TestComplete, you can review all the respective files related to the TestComplete before execution.

Execution of the Scripts

Perform the following:

  1. You can execute scripts using Feature Files option. Open the respective Feature File on the left pane that you want to execute in the TestComplete.  Details of the Feature File will be displayed in the right pane as shown: 

     

  2.  Right-click on the respective scenario outline to select "Run This Scenario' option. 

     

  3.  Upon completion of the execution, you will be able to see execution report. The following screen appears. In this screen, click 'Export Test results' icon to export all the information to the appropriate folder.




  4. 'Choose Storage Type and Location' window appears. In this window, select More Menu (three dots) options to choose the appropriate folder path and click Ok.



  5. After exporting, navigate to the same folder where you have exported the files in the previous steps and locate the index file to view the results in the required browser.



    Generating Customized MS Word Report using algoQA

    Step1 - Creating a separate folder to generate the MS Word report in the same folder

    Perform the following:

    1. Navigate to the TestComplete folder structure in the algoQA folder structure. 
    2. In this folder, create a folder by name 'GenerateWordReport'.
    3. Copy the path and paste it into a notepad for the later use.


    Step 2- Viewing the report in the algoQA generated Folder Structure and coping the report generated in text file to 'GenerateWordReport' folder. 

    Perform the following:

    1. algoQA generated scripts follow organized folder structure as shown in the following sample screenshot. In this folder structure, select TestComplete folder and navigate to the report generated text file in the Text format as shown in the secondary screen.

      algoQA Folder Structure screen
      Secondary screen
    2. Use the copied path in the notepad from the previous section to open the 'GenerateWordReport' folder in a separate tab.

    3. Copy the report generated in text file format, as shown in the secondary screen, to the 'GenerateWordReport' folder.


    Step 3 -Copying the supporting test execution files from the algoQA script generated folder structure to 'GenerateWordReport' folder.


    Perform the following:

    1. Navigate to the Log folder in the algoQA folder structure to access supporting files, such as screenshots and test execution files as shown in the following screenshot:





    2. Use the copied path in the notepad from the step 1 section to open the 'GenerateWordReport' folder in a separate tab.

    3. Copy all the supporting files from the Log folder and paste it to the 'GenerateWordReport' folder which is opened in a separate tab.

    4. 'GenerateWordFolder' folder contains report in text file format and supporting test execution files from the Log folder.

     

    Step4- Generating Customized MS Word Report using algoQA via Command Prompt


    Perform the following:


    1. In algoQA script generated folder structure, navigate to the algoReport folder.

    2. Click the address bar at the top of the folder path to highlight the path. 
    3. Type 'cmd' in the address bar to launch command prompt.

    4. Run the following command to generate MS Word report in the 'GenerateWordReport' folder.

      algoreport.exe “wordReport” “reportStoragepath”

      This command instructs the algoreport.exe program to generate a report based on the provided Word document configuration and store it in the specified storage path.


    5. MS Word report will be generated in the  'GenerateWordReport'  folder as shown: 


    6.  Double-click the WordReport generated in the previous step to view the report details as follows:






       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

       

        

       

       

       

       

       

       





















      •  


     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

      

     

     

     

     

     

     








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