How to "click" the dropdown menu's and radio button on a pop up window

3 posts, 1 answers
  1. Victor
    Victor avatar
    9 posts
    Member since:
    Mar 2015

    Posted 04 Aug 2015 Link to this post

    Hi Guys,

     After successfully recording my steps, executing it will generally stop and fail on the scenario wherein a pop up window will open. On this pop up window, i will then need ​to select a value on the drop down menu (lets say 2). Based on the value selected on the drop down menu, radio buttons will be presented and also selected accordingly [kindly refer to attached popup groupings.png] .

    This is the error im encountering:

    "Unable to find the target host (Browser/SilverlightApp) to locate an element. Failure: Waiting for frame '[Frame:name=cbox1438672448756,src=http://anl-sit/sit/web/startpage/QZ_Tool_UpdateGroup.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:name=cbox1438672448756,src=http://anl-sit/sit/web/startpage/QZ_Tool_UpdateGroup.aspx,UseQuery:False]' timed out. Error: Wait for condition has timed out
    "

     

    Attached is also the error log from the execution.

     Hoping for your assistance.

    Thanks!

     

  2. Victor
    Victor avatar
    9 posts
    Member since:
    Mar 2015

    Posted 04 Aug 2015 Link to this post

    this is the popup window ...
  3. Answer
    Boyan Boev
    Admin
    Boyan Boev avatar
    1039 posts

    Posted 07 Aug 2015 Link to this post

    Hello Victor,

    This is often due to a dynamic frame Id or Name. This is remedied by using the tilde (~) character to indicate a partial match. This can be used in the BaseURL, Id, and Name fields. If the Src string contains a dynamic query, set UseQuery to False.

    I can see the name of the frame is dynamically generated. Am I right?

    Please see the bottom of this article in order to resolve the issue.

    Hope this helps.



    Regards,
    Boyan Boev
    Telerik
     
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top