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

Unable to find the target host (Browser/SilverlightApp) to locate an element.

1 Answer 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nelson
Top achievements
Rank 1
Nelson asked on 19 Nov 2013, 09:10 PM
I have a problem in my PC, a test of a simple login that works on other PC's presents this fails, I checked Iframes solutions about but did not work. It's strange that runs on a PC and not in another.
Thanks for your help

SUMMARY:
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~iPopUp,name=Frame_0,src=http://puertobahiaqa.facturetest.co/login.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~iPopUp,name=Frame_0,src=http://puertobahiaqa.facturetest.co/login.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out

LOG:
Overall Result: Fail
------------------------------------------------------------
'19/11/2013 15:51:35' - Using .Net Runtime version: '4.0.30319.18052' for test execution. Build version is '2013.1.911.0'.
'19/11/2013 15:51:35' - Starting execution....
------------------------------------------------------------
------------------------------------------------------------
'19/11/2013 15:51:38' - Using 'InternetExplorer' version '11.0' as default browser. 
'19/11/2013 15:51:38' - Using 'http://puertobahiaqa.facturetest.co/' as base url.
'19/11/2013 15:51:39' - 'Pass' : 1. Navigate to : '/'
'19/11/2013 15:51:40' - 'Pass' : 2. Desktop command: LeftClick on DnnDnnLoginEnhancedLoginLinkLink
'19/11/2013 15:51:40' - 'Pass' : 3. Wait for '250' msec.
'19/11/2013 15:52:41' - 'Fail' : 4. Enter text 'host' in 'DnnCtrLoginLoginDNNTxtUsernameText'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:id=~iPopUp,name=Frame_0,src=http://puertobahiaqa.facturetest.co/login.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=~iPopUp,name=Frame_0,src=http://puertobahiaqa.facturetest.co/login.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
   en ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   en ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
------------------------------------------------------------
'19/11/2013 15:52:41' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
------------------------------------------------------------
'19/11/2013 15:52:41' - Overall Result: Fail
'19/11/2013 15:52:41' - Duration: [1 min: 3 sec: 644 msec]
------------------------------------------------------------
'19/11/2013 15:52:42' - Test completed!

1 Answer, 1 is accepted

Sort by
0
Rodney
Telerik team
answered on 22 Nov 2013, 09:05 PM
Hi Nelson,

Go to your Project tab and check the test’s properties to make sure the test’s SilverlightEnabled Test property is set to true. If the value is set to true but the issue persists, you can review the troubleshooting steps in this document – Silverlight: Unable to Find the Target Host.


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