This is a migrated thread and some comments may be shown as answers.

Test Studio on Windows 7 is failing to select target iframe on Chrome only.

1 Answer 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rodney
Top achievements
Rank 1
Rodney asked on 04 Jul 2012, 12:23 PM

 I am using the trial edition of TeleikTest Studio 2012.1.528.0 with Chrome 20.0.1132.47 m, windows 7. All other browsers work great except Chrome. There is a key Iframe and tabbed target iframes. The error log is as follows.
_______________________________________________________________________________

Overall Result: Fail
------------------------------------------------------------
'7/4/2012 5:20:06 AM' - Using .Net Runtime version: '4.0.30319.17626' for tests execution.
'7/4/2012 5:20:06 AM' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'7/4/2012 5:20:08 AM' - Using 'Chrome' version '20.0.1132.47' as default browser.
'7/4/2012 5:20:11 AM' - 'Pass' : 1. Navigate to : 'http://examples1.ext.net/'
'7/4/2012 5:20:12 AM' - 'Pass' : 2. Click 'ButtonsSpan'
'7/4/2012 5:20:13 AM' - 'Pass' : 3. Verify 'InnerText' 'Exact' 'Basic' on 'BasicSpan'
'7/4/2012 5:20:14 AM' - 'Pass' : 4. Click 'BasicSpan'
'7/4/2012 5:20:15 AM' - 'Pass' : 5. Click 'LinkButtonSpan'
'7/4/2012 5:20:16 AM' - 'Pass' : 6. Click 'HomeSpan'
'7/4/2012 5:20:20 AM' - 'Pass' : 7. Click 'LinkButtonSpan0'
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Primary Find Expression: id=ext-gen289,|,tagIndex=span:1
Element was found by backup search: xpath=/html[1]/body[1]/div[3]/div[1]/div[1]/ul[1]/li[2]/a[2]/em[1]/span[1]/span[1]
'7/4/2012 5:20:21 AM' - 'Pass' : 8. Click 'ImageButtonSpan'
'7/4/2012 5:20:24 AM' - 'Pass' : 9. Verify 'InnerText' 'Exact' 'LinkButton' on 'LinkButtonSpan'
Element was found by backup search only! We recommend editing the element to correct the primary find expression.
Primary Find Expression: id=ext-gen286,|,tagIndex=span:3
Element was found by backup search: xpath=/html[1]/body[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[2]/ul[1]/div[1]/li[4]/ul[1]/li[1]/ul[1]/li[2]/div[1]/a[1]/span[1]
'7/4/2012 5:21:06 AM' - 'Fail' : 10. Click 'SimpleH2Tag'
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'eabbcda0-23da-4bc0-bfff-b824745b815c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'2',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
InnerException:
System.Exception: Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'eabbcda0-23da-4bc0-bfff-b824745b815c',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'2',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   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.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(FrameInfo frameInfo)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.GetFrameBrowserInstance(Browser topBrowser, FrameInfo frame, Int32 waitTimeout, String& stringError)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout, Boolean& byBackupSearch)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'7/4/2012 5:21:06 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'7/4/2012 5:21:06 AM' - Overall Result: Fail
'7/4/2012 5:21:06 AM' - Duration: [0 min: 58 sec: 75 msec]
------------------------------------------------------------
'7/4/2012 5:21:47 AM' - Test completed!

 



1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 04 Jul 2012, 04:19 PM
Hi Rodney,

I believe you are facing a known issue with Chrome. The issue is already fixed and the fix will be included in our next internal build, which should be released within 2 weeks.

If you can't wait that long, we have a private build containing the fix. If you want to try it, you can download it from here:
https://www.dropbox.com/s/xdmk15zoe2c2rjv/Telerik.TestStudio.2012.1.704_Purchase.msi

Please let me know how it goes.

Regards,
Plamen
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Rodney
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or