Hello
After logging into a system and getting and bunch of information, i then have a coded step to search through a table to find the correct button to push and then push it and then continue on with some other steps and subtests.
In IE and FF this works fine however in Safari I keep getting the error below. I note that it does find the correct button and appears to push it (noticed by the browser refreshing) but does not continue on to the next step. I have tried increasing the debugger timeouts but that hasn't helped.
Any ideas?
the code to push the button after finding the ID =
It is the ClickAnchor.Click line that the error is referring to.
Failure Information: ~~~~~~~~~~~~~~~Exception thrown executing coded step: '[Step__Find_and_Click_Buy_Policy_Button_CodedStep] : Find and Click Buy Policy Button'.InnerException:System.TimeoutException: Wait for condition has timed out at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo) 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.Browser.WaitUntilReady() 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.Click(Element targetElement) at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click() at Step___Find_and_Click_Buy_Policy_Button.Step__Find_and_Click_Buy_Policy_Button_CodedStep() in J:\Common Shared\Customer\CTI\Test\Step - Find and Click Buy Policy Button.tstest.vb:line 96
After logging into a system and getting and bunch of information, i then have a coded step to search through a table to find the correct button to push and then push it and then continue on with some other steps and subtests.
In IE and FF this works fine however in Safari I keep getting the error below. I note that it does find the correct button and appears to push it (noticed by the browser refreshing) but does not continue on to the next step. I have tried increasing the debugger timeouts but that hasn't helped.
Any ideas?
the code to push the button after finding the ID =
Dim ClickAnchor As HtmlAnchor = Pages.TravelInsuranceSalesSystem0.FrameCtl00Contents1.ContentsTable.Find.ByExpression(Of HtmlAnchor)("id=" & findbutton)
ClickAnchor.Click
It is the ClickAnchor.Click line that the error is referring to.
Failure Information: ~~~~~~~~~~~~~~~Exception thrown executing coded step: '[Step__Find_and_Click_Buy_Policy_Button_CodedStep] : Find and Click Buy Policy Button'.InnerException:System.TimeoutException: Wait for condition has timed out at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo) 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.Browser.WaitUntilReady() 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.Click(Element targetElement) at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click() at Step___Find_and_Click_Buy_Policy_Button.Step__Find_and_Click_Buy_Policy_Button_CodedStep() in J:\Common Shared\Customer\CTI\Test\Step - Find and Click Buy Policy Button.tstest.vb:line 96