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

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

2 Answers 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Victor
Top achievements
Rank 1
Victor asked on 04 Aug 2015, 09:43 AM

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 Answers, 1 is accepted

Sort by
0
Victor
Top achievements
Rank 1
answered on 04 Aug 2015, 09:46 AM
this is the popup window ...
0
Accepted
Boyan Boev
Telerik team
answered on 07 Aug 2015, 07:25 AM
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!
Tags
General Discussions
Asked by
Victor
Top achievements
Rank 1
Answers by
Victor
Top achievements
Rank 1
Boyan Boev
Telerik team
Share this question
or