Declined
Last Updated: 02 Jan 2024 13:16 by ADMIN
ADMIN
Cody
Created on: 21 Apr 2015 18:42
Type: Feature Request
0
Include frame info in failure of test log
When a coded step fails to locate the target frame all you get is something like this:

Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: 'Verify the General Information tab opens successfully'.
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,V](Func`3 func, T target, V custom, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.Common.WaitSync.For[T,V](Func`3 func, T target, V custom, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitForFrame(FrameInfo frameInfo)
   at Pages.PegaCaseWorkerPortal2Page.get_FramePWGadget3Ifr() in C:\Users\tyagam\Documents\Test Studio Projects\ROAM\Pages.g.vb:line 499
   at ROAM.NewROLGenInfoTab.NewROLGenInfoTab_CodedStep2() in C:\Users\tyagam\Documents\Test Studio Projects\ROAM\NewROL\NewROLGenInfoTab.tstest.vb:line 75

A very important piece of info is what frame info Test Studio was trying to use at the point of failure. Please add this info to the log ASAP. Lack of this information makes diagnosing the problem MUCH more difficult.
0 comments