Support mouse actions in azure devops pipeline

1 Answer 81 Views
Azure DevOps Test Configuration Test Execution
Daniel
Top achievements
Rank 3
Iron
Iron
Iron
Daniel asked on 11 Jan 2023, 10:41 AM

Hey guys, 

we facing a problem while setting up our continious integration test using Azure Devops & Test Studio (ArtofTestRunner). 

Since we are using mouse events to navigate through the website to test our UI, our testserver screen needs to be unlocked the whole time during the tests, correct? There is no other option (Link here)?

Since it's a virtual machine this isn't possible without connecting via remote session before every build which isnt really practical. 

I hope you guys can help us out setting up a test enviroment which works 

Best regards,

Daniel

1 Answer, 1 is accepted

Sort by
1
Accepted
Elena
Telerik team
answered on 11 Jan 2023, 01:30 PM

Hello Daniel,

The Test Studio tests are functional UI tests and as such these require active user session to be running. In case you test a web application, you have the option to run the tests in headless mode of the browser (Chrome and Edge) - this is the case in which you can leave aside the active desktop as requirement. 

If this is not feasible you have the option to use the Test Studio Test Runner built-in options to keep the desktop session active. The Test Runner is part of the Test Studio Run-time installation and although it is not required for the test execution via the ArtOfTest.Runner.exe, you still can keep it running on the build machine and use its options for the user sesion. 

I hope that this information will be useful for you. Though, in case you have additional questions on the topic, feel free to continue the conversation.

Thank you for your cooperation in advance.

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.
Daniel
Top achievements
Rank 3
Iron
Iron
Iron
commented on 19 Jan 2023, 08:55 AM

Thank you for the idea using headless tests. Helps us a lot!
Elena
Telerik team
commented on 20 Jan 2023, 05:02 PM

Hi Daniel, 

I am pleased to hear that headless testing suits your needs. If you have a suite with only headless tests, you can also explore the options to use Test Studio Run-time in Docker containers, or implement the Test Studio Test Runner in Azure DevOps pipelines with the Microsoft- hosted agent

I hope you find these articles also interesting. Thank you for your cooperation!

Regards,
Elena

 

Tags
Azure DevOps Test Configuration Test Execution
Asked by
Daniel
Top achievements
Rank 3
Iron
Iron
Iron
Answers by
Elena
Telerik team
Share this question
or