For some reason when running a Test in Test Studio and choosing to use Chrome Chrome is not opening at all
Other browsers are working as expected
Log shows as below
------------------------------------------------------------
'08/05/2025 11:01:34' - Executing test: 'Reschedule', path: 'Reschedule.tstest.'
'08/05/2025 11:01:34' - Using .Net Runtime version: '4.0.30319.42000' for test execution. Build version is '2025.1.226.1'.
'08/05/2025 11:01:34' - Starting execution....
'08/05/2025 11:03:08' - Failure detected during execution. Details:
------------------------------------------------------------
'08/05/2025 11:03:08' - System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'08/05/2025 11:03:08' - Test completed!
Have tried calibrating Chrome but to no effect
Can anyone help on this at all?
Hi Mark,
Please, share some additional details on the occurence. You can use the below topics as basseline:
Thank you for your cooperation in advance.
Regrads,
Elena
Hi Elena
Thanks for helping on this. See my answers below
Have tried removing and reinstalling Chrome but to no avail
If you need anything further le me know
Thanks for your help on this
Hi Mark,
Thanks for your prompt response.
It seems that the profile user data for Chrome browser used from Test Studio is corrupted somehow and thus the browser cannot start. Please, follow the below steps to fix this:
Note: If you have any concerns, you can just move the content of the folder to any other directory and keep it as backup.
Thanks for your time once again.
Regards,
Elena
Hi Elena
Many thanks for your help. This appears to have created a new Profile for Chrome and is now working again
Is there any way to get Test Studio to use a specific Chrome Profile at all?
Thanks for your help in getting this fixed
Hi Mark,
I am pleased to know the suggested steps resolved the issue on your end and you can continue running tests in Chrome.
As to your query about using custom Chrome profile - no, you can't use a profile other than the one outlined in my previous response. Though, you can use the browser installation from the Chrome for testing flavor channel - you can see here how to setup Test Studio to run and record tests in the Chrome for testing browser. I am not familiar with the requirements you need to cover but this is an option which you can explore.
Thank you for your cooperation in our conversation!
Regards,
Elena