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

Cannot record a selection from a drop down list

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Harika
Top achievements
Rank 1
Harika asked on 01 Dec 2014, 10:40 PM
Hi

This is my first time recording an automated test using Telerik, I am recording a click on drop down and then selecting a check box in that list of values.
When i playback, this test step is failing. Can you please suggest a way on how to record this or if i have to add some code in order to record the above
function
 Below is the error i am getting when executing

Failure
Information: ~~~~~~~~~~~~~~~Unable to find the target host
(Browser/SilverlightApp) to locate an element. Failure: Waiting
for frame '[Frame:id=resultFrame,name=resultFrame,src=https://" + Mscrm.CrmUri.create("/_static/blank.htm").toString() + ",UseQuery:False]' timed out. Error: Wait for condition has timed outInnerException:System.Exception:

Unable to find the target host (Browser/SilverlightApp) to locate an
element. Failure: Waiting for frame '[Frame:id=resultFrame,name=resultFrame,src=https://" + Mscrm.CrmUri.create("/_static/blank.htm").toString() +
",UseQuery:False]' timed out. Error: Wait for condition has timed out   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32
order)------------------------------------------------------------'12/1/2014
4:33:12 PM' - Detected a failure. Step is marked
'ContinueOnFailure=False' aborting test execution.------------------------------------------------------------'12/1/2014 4:33:12 PM'
- Overall Result: Fail'12/1/2014 4:33:12 PM' - Duration: [1 min: 25 sec: 365 msec]

Thanks,
Harika

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 04 Dec 2014, 03:33 PM
Hello Harika,

As I can see in the log Test Studio cannot find the frame. This usually happens because of the dynamic SRC.

Please remove the SRC from the Frame properties and leave only the ID and Name (see the attached screen shot).

Also see this article.

Let me know if 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
Harika
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or