We have a regression test framework that uses Jenkins to call a batch command to start test studio.
ArtOfTest.Runner.exe list="D:\QA\Projects\Authenticated Payment\Scripts\TestLists\Login.aiilist"
This had been working every day for months. But yesterday, chrome updated itself to version 52.0.2743.116.
And now, the tests are failing due to timeout as chrome is not launching.
Is there a solution to this issue, so we can continue to run our tests with Jenkins and the latest version of Chrome?
Thanks,
Jack
Here is the log we got:
'2016-08-12 10:34:45 AM' - Executing test: 'Main_Login', path: 'Main\Main_Login.tstest.'
'2016-08-12 10:34:45 AM' - Using .Net Runtime version: '4.0.30319.34209' for test execution. Build version is '2016.1.330.0'.
'2016-08-12 10:34:45 AM' - Starting execution....
'2016-08-12 10:35:46 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'2016-08-12 10:35:46 AM' - 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)
------------------------------------------------------------
'2016-08-12 10:35:47 AM' - Test completed!
Hello,
I noticed this morning that one of my test lists failed in my nightly build. The name of the failed test list is OfficialUndoRedo3Deep, it contains 24 tests as indicated by the attached screenshot TestListView.png and it is displayed in red my results viewer (as shown in NotSelected.png). The attached screenshot ResultView.png shows my results view with the failed test list selected.
This screenshot gives rise to a few issues.
Thanks!
Hi ,
I have an input that require simulated manual entry in order to trigger the validation. I selected ;'simulate manual typing' for my recorded step and everything worked fine.
Now, when I convert the recorded step to a coded step, the step fails.
Here's the coded step..
[CodedStep(@"Enter Comment Text 'Automation Test'")]
public void enter_Address_data_CodedStep3()
{
// Enter text 'Automation Test' in 'NewAddressdescriptionTextArea'
Actions.SetText(Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea, "");
Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.ScrollToVisible(ArtOfTest.WebAii.Core.ScrollToVisibleType.ElementTopAtWindowTop);
ActiveBrowser.Window.SetFocus();
Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.Focus();
Pages.MicrosoftDynamicsCRM.FrameContentIFrame.NewAddressdescriptionTextArea.MouseClick();
Manager.Desktop.KeyBoard.TypeText("Automation Test",50,100,true);
}
and the exception...
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Enter text 'Automation City' in 'CityText''.
InnerException:
ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.ArgumentException: Tag collection of 'input' elements is either empty or has less elements than the element occurrence requested. RequestedIndex: '8', ElementLength: '0'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Action',Info:'NotSet',Action:'SetText',Target:'ElementId (tagName: 'input',occurrenceIndex: '8')',Data:'',ClientId:'Client_fc23a956-34ef-4a07-a35b-70219db7cf85',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'System.ArgumentException: Tag collection of 'input' elements is either empty or has less elements than the element occurrence requested. RequestedIndex: '8', ElementLength: '0'
at ArtOfTest.InternetExplorer.IECommandProcessor.FindElement(ElementIdMessage id)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessActionCommands(BrowserCommand request)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommandInternal(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)')
InnerException: none.
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.Core.Actions.SetText(Control targetControl, String text)
at TestProject2.enter_Address_data.enter_Address_data_CodedStep2() in f:\New folder\Test Studio Projects\TestProject2\Address\Steps\enter Address data.tstest.cs:line 239
Any help would be appreciated.
Thanks,
dan


Hello, Hi.
I want to ask one question regarding the title above. How do I do for test drag and drop? because I have to drag the element and drop it at some space then it will popup some data. How I can do that? can you please teach me because I am still beginner for test studio.

Hello,
Does anyone know how to access the name of the current test list inside a coded step?
Thanks,
Steve
