Hello,
We have a suite made of 23 test scenarios which are made up of hundreds of test steps. They have been running fine and passing as expected in the previous version of Test Studio (version 2021.3.1103.0). In order to support the most recent version of browsers (Google Chrome and MS Edge), we upgraded Test Studio to the most recent version (version 2022.1.215.0). During the upgrade, Test Studio automatically upgraded all the test scripts. However since the upgrade, only 8 of the 23 test scenarios have been passing as expected even though the target web app has not changed i.e. the web app is not the problem.
- Here is the error returned when executing one of the failing test scenario against Google Chrome Version 98.0.4758.102 (Official Build) (64-bit):
ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!InError set by the client. Client Error:Evaluation failed: SyntaxError: Invalid or unexpected tokenBrowserCommand (Type:'Action',Info:'NotSet',Action:'SetText',Target:'ElementId (tagName: 'textarea',occurrenceIndex: '0')',Data:'This is a regression test note to test note area text field. You can enter any number, text or any characters here.
eg :- 12.57980
* # @ +
assura@co.nz',ClientId:'662245DAE606F8418F6D8F8916AB8CD6',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'0',InError:'True',Response:'Evaluation failed: SyntaxError: Invalid or unexpected token')
InnerException: none.
---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException
at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
at ArtOfTest.WebAii.Core.Actions.SetText(Element targetElement, String text)
at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SetTextActionDescriptor.Execute(Browser browser)
at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
- Here is another error returned when executing one of the failing test scenario against Google Chrome Version 98.0.4758.102 (Official Build) (64-bit):
ArtOfTest.Common.Design.Exceptions.ExecutionException: Invalid control '[Element: 'li:0' (id=k-tabstrip-tab-0)]'. Control does not match FindExpression '[role 'Exact' tab]' ---> System.ArgumentException: Invalid control '[Element: 'li:0' (id=k-tabstrip-tab-0)]'. Control does not match FindExpression '[role 'Exact' tab]'
at ArtOfTest.WebAii.Controls.Control.CreateInstance[TControl](Element e, Boolean throwIfNull)
at Telerik.TestStudio.Translators.KendoUI.Angular.TabStrip.VerificationDescriptors.TabTitleVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
--- End of inner exception stack trace ---
Can you please look into this and help us resolve whatever root cause prevents our suite of tests from executing and passing as expected with the most recent version of Telerik Test Studio? Thanks in advance.
Stéphane C. (Senior Software Tester at Assura Software)