There is an issue which annoys me every now and then is, in my project when I run the test live the steps do not work as recorded. The feature is a normal button which i tried walking over using the option of Desktop Cmmand(left click) and the Normal Click each. But the results indicate a test failure.
Find the logs using
a) Desktop Command
b) Normal Click
respectively
'11/28/2013 2:25:50 PM' - 'Fail' : 46. Desktop command: LeftClick on PerformImage
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'11/28/2013 2:25:50 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/28/2013 2:25:50 PM' - Overall Result: Fail
'11/28/2013 2:25:50 PM' - Duration: [4 min: 23 sec: 636 msec]
------------------------------------------------------------
'11/28/2013 2:25:51 PM' - Test completed!s
********************************************************************************************************************************************************************
'11/28/2013 2:40:03 PM' - 'Fail' : 47. Click 'PerformImage'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'11/28/2013 2:40:03 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/28/2013 2:40:03 PM' - Overall Result: Fail
'11/28/2013 2:40:03 PM' - Duration: [4 min: 11 sec: 945 msec]
------------------------------------------------------------
'11/28/2013 2:40:05 PM' - Test completed!
Find the logs using
a) Desktop Command
b) Normal Click
respectively
'11/28/2013 2:25:50 PM' - 'Fail' : 46. Desktop command: LeftClick on PerformImage
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'11/28/2013 2:25:50 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/28/2013 2:25:50 PM' - Overall Result: Fail
'11/28/2013 2:25:50 PM' - Duration: [4 min: 23 sec: 636 msec]
------------------------------------------------------------
'11/28/2013 2:25:51 PM' - Test completed!s
********************************************************************************************************************************************************************
'11/28/2013 2:40:03 PM' - 'Fail' : 47. Click 'PerformImage'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=frameDyn,name=~Frame,src=https://sample-dev.t-sample.com/sample/GENERAL/sample.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'11/28/2013 2:40:03 PM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'11/28/2013 2:40:03 PM' - Overall Result: Fail
'11/28/2013 2:40:03 PM' - Duration: [4 min: 11 sec: 945 msec]
------------------------------------------------------------
'11/28/2013 2:40:05 PM' - Test completed!