Hi,
Got an element to click on, element located inside iframe , click confirm action and close iframe
Recorded action:
Click performed successful , iframe closed but click step fails with error:
System.TimeoutException: Wait for condition has timed out
Coded step :
Browser myFrame = ActiveBrowser.Frames["sb-player"]
Element xpath = myFrame.Find.ByXPath("//input[@id='submitRFPProcurementButton']");
myFrame.Actions.Click(xpath);
Same behavior, log output :
'10/16/2018 8:50:20 PM' - 'Fail' : 44. Click 'MapProperty'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Click 'MapProperty''.
InnerException:
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.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 teststudio.RFP_Creation.RFP_Creation_CodedStep1() in c:\Users\Oleg\Documents\C360-Main-WebApp\e2e_tests_ts\tests\Global Regression Suite\
------------------------------------------------------------