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

[Solved] Clicking on dynamically generated links

1 Answer 12 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.
Martin Blair
Top achievements
Rank 1
Martin Blair asked on 10 Dec 2009, 11:36 PM

I am having a problem clicking on a control that is dynamically generated. Basically, the web app that I run creates an object and then generates hyper links to a page that allows you to edit it’s attributes.

 

Recording a click on the links that are generated only returns a click on the links parent object. Is there a way through the GUI to generate a click on the link proper?

 

Should I just use code? Do you have any examples of clicking on a link using regular expressions so I can filter out the dynamic properties?

 

Thanks for any help,

 

Martin

1 Answer, 1 is accepted

Sort by
0
Missing User
answered on 11 Dec 2009, 04:06 PM
Hello Martin,

Have you tried recording this in the remote recording browser instance?

You can try highlighting the control and waiting for the Element Menu nub to appear. If there are layered controls that are recognized by WebUI, then the nub will have a fan out of translators that you click on.
 
You can hover over the traslator options and a tool tip of what type of translator it is will appear. If a link translator appears, you can click on it, then in the Elements Menu select 'Mouse Actions' -> 'Left Click'.

If no translators or a link translator does not appears, you can click on the green 'Reconfigure Recorder' button in the Recording Window to refresh the translators. If the translator still does not appear, you can click on the base nub.

In the Elements Explorer click 'Locate In Dom' and the parent element should be highlighted in the Dom Explorer Window. You can then click through children of the parent to find the link. If you find the link in the Dom, you right click on it to 'Lock on Surface' and can record a click as described above. 

If the link is not in the Dom, you can click the green 'Refresh' button in the Dom Explorer Window to get the latest page Dom and try finding the link again. You can also try the above in the remote recording browser instance to see if it works there.

Please let s know if you are still unable to record the click in the link.

Sincerely yours,
Nelson Sin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Martin Blair
Top achievements
Rank 1
Answers by
Missing User
Share this question
or