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

2 posts, 0 answers
  1. Nelson
    Nelson avatar
    1 posts
    Member since:
    Nov 2013

    Posted 19 Nov 2013 Link to this post

    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!
  2. Rodney
    Admin
    Rodney avatar
    6 posts

    Posted 22 Nov 2013 Link to this post

    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
Back to Top