This question is locked. New answers and comments are not allowed.
Hi,
i am trying trial version of WebUI test developer edition with Vs 2010 premium, win 7 and ie8.
I found interesting bug or feature when you save next step: wait for text 'content' 'Contains' 'xxx text' on 'SpanElement'
This was working me earlier yesterday, but suddenly it stop working. I did try to create step again, i did try to create whole test again, in different test, add more timedelay, everything what come to my mine..
Anyway i found one trick which solve this "in uggly way". If i add: wait for exist 'same span element what causes error' before wait for text 'content'... its work fine. Strange.
Otherwice i like very much your product, i hope you can help me with this.
Best regard, Jari Jämsä
Error message below:
Unhandled exception thrown during automation step execution
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.IndexOutOfRangeException: Current frame index '7' is out of range of current frames count '7'
at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_a6ca581e-5ee5-49f0-b1a2-44af83341ef2',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'7',InError:'True',Response:'System.IndexOutOfRangeException: Current frame index '7' is out of range of current frames count '7'
at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(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.RefreshDomTree()
at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, String& stringError)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
i am trying trial version of WebUI test developer edition with Vs 2010 premium, win 7 and ie8.
I found interesting bug or feature when you save next step: wait for text 'content' 'Contains' 'xxx text' on 'SpanElement'
This was working me earlier yesterday, but suddenly it stop working. I did try to create step again, i did try to create whole test again, in different test, add more timedelay, everything what come to my mine..
Anyway i found one trick which solve this "in uggly way". If i add: wait for exist 'same span element what causes error' before wait for text 'content'... its work fine. Strange.
Otherwice i like very much your product, i hope you can help me with this.
Best regard, Jari Jämsä
Error message below:
Unhandled exception thrown during automation step execution
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
System.IndexOutOfRangeException: Current frame index '7' is out of range of current frames count '7'
at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(WebBrowserClass ieInstance, BrowserCommand request, IHTMLDocument2 document)
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_a6ca581e-5ee5-49f0-b1a2-44af83341ef2',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'7',InError:'True',Response:'System.IndexOutOfRangeException: Current frame index '7' is out of range of current frames count '7'
at ArtOfTest.InternetExplorer.IECommandProcessor.SetTargetDocument(BrowserCommand& request, IHTMLDocument2 document)
at ArtOfTest.InternetExplorer.IECommandProcessor.ProcessCommand(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.RefreshDomTree()
at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, String& stringError)
at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()