UI test run failed in docker for ArtOfTest.WebAii.Exceptions.UnsupportedNonInteractiveOperationException: Dialog monitoring can not be enabled when running in non-interactive mode

1 Answer 92 Views
Test Execution
Jun
Top achievements
Rank 1
Iron
Iron
Jun asked on 02 Jul 2024, 03:48 AM

Hi Team, 

I setup docker in windows server 2019 machine, and start one docker container with image windowsservercore 2019 ,and run telerik ui case in the container with chromeheadless, below error pops:

From this document, seems telerik support docker, https://docs.telerik.com/teststudio/advanced-topics/build-server/docker-container-testing

Can you please given any suggestion about this, I have run the case from command line in docker not know why no-interactive pops. Not sure it's related to the image I use or other setting about docker.

Thanks,

Jun

1 Answer, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 04 Jul 2024, 10:40 AM

Hi Jun,

This type of error appears when the test run needs active UI session but is initiated under a non-active session like the Docker container one. Therefore you need to verify the settings used to trigger the test or test list run and more specific what is the browser set for execution. 

I see that you are using a Jenkins pipeline for the overall process, which means you are not following the setup described in the mentioned article exactly. So, if you need additional assistance on where to find the test list settings, I will need details for the setup you configured. 

I hope this information is useful for you.

Regards,
Elena
Progress Telerik

Virtual Classroom is the free self-paced technical training portal that gets you up to speed with Telerik and Kendo UI products including Telerik Test Studio! Check it out at https://learn.telerik.com/.
Jun
Top achievements
Rank 1
Iron
Iron
commented on 08 Jul 2024, 12:40 PM

Hi Elena, 

Yes, checked the browser set is chromeheadless. I thought I was confused by this error, I am checking again, even chromeheadless + docker container, the error still occur. But the error will not block case run , so test result could still be published. Now what I do is just ignore this error., as no effect to final test result. 

 

Elena
Telerik team
commented on 09 Jul 2024, 01:05 PM

Thanks for sharing this note. We'll have in mind to improve this misleading messaging. 
Tags
Test Execution
Asked by
Jun
Top achievements
Rank 1
Iron
Iron
Answers by
Elena
Telerik team
Share this question
or