Forum Discussion

NexxDevOps's avatar
NexxDevOps
New Contributor
22 days ago

Session Creator to run with Azure Devop TestPlan

To Whom It May Concern,

I am currently using SessionCreator to run TestComplete through a Remote Desktop session.

I noticed that SessionCreator uses PowerShell scripts to execute TestComplete projects on the remote machine.

However, I need to generate detailed reports for each individual test case that is linked from Azure DevOps Test Plans to the corresponding TestComplete test cases.

This is necessary for tracking and managing test execution results within Azure DevOps.

Could you please advise whether there is a way to enable this reporting or integrate the results back into Azure DevOps?

For example, I want to use session creator to Run TestComplete Tests as Part of a Test Plan.

Thank you for your assistance.

3 Replies

  • NexxDevOps's avatar
    NexxDevOps
    New Contributor

    I applied that solution, but it did not work with Remote Desktop.

    When I disconnect from the RDP session, the UI is no longer active, and TestComplete cannot execute the tests (even though the agent is configured to run interactively).

    I used the disconnect method described in “Disconnecting From Remote Desktop While Running Automated Tests.”

    However, after disconnecting, the remote desktop resolution changes, and our application is very sensitive to screen resolution. As a result, the application does not run correctly after using that method.

    To keep the RDP session active and maintain the same resolution, I am using SessionCreator. As mentioned above, SessionCreator is triggered via command line or PowerShell script to run a specific project.

    Because of this setup, I am unable to use the VSTest task in the Azure DevOps pipeline to run it as part of a Test Plan.

    • rraghvani's avatar
      rraghvani
      Icon for Champion Level 3 rankChampion Level 3

      I also had the same issue, you need to specify the /ScreenResolution parameter. Here's what I use in PowerShell script,

      & 'C:\Program Files (x86)\SmartBear\TestExecute 15\x64\Bin\SessionCreator.exe' RunTest /UserName:User1 /password:'letmein' /UseActiveSession /ScreenResolution:"1920*1080" /ProjectPath:"C:\Sandbox\TestComplete\ALS\ALS.pjs" /ExportLog:"C:\Sandbox\Log\TC_Automation_$tc_timestamp\index.html" /ExportSummary:"$summary_report" | Out-Null

      I've moved away from using tscon, and now using Azure Pipeline Agent - as this automatically logs the user in