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

[Solved] clicking hyperlink in HTML Table cell of web aii

2 Answers 37 Views
Telerik Testing Framework
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
sowjanya vunnava
Top achievements
Rank 1
sowjanya vunnava asked on 15 Jan 2010, 09:04 AM
can any one please tell me how to click a hyperlink link in html table cell?

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 15 Jan 2010, 04:11 PM
Hello sowjanya,

You should be able to do:

HtmlAnchor a = ActiveBrowser.Find.ByExpression<HtmlAnchor>("tagname=a","textcontent=MyLinkText"); 
a.ScrollToVisible(ScrollToVisibleType.ElementTopAtWindowTop); 
a.MouseClick(); 

Pleas post back if you have any question with the above.

Best wishes,
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.
0
sowjanya vunnava
Top achievements
Rank 1
answered on 04 Feb 2010, 12:37 PM
Thanks for reply.
But ihave get the control return back fron a table cell based on certain condition.
Anyways Able to retrieve that.

Thanq

Regards
Sowjanya
Tags
Telerik Testing Framework
Asked by
sowjanya vunnava
Top achievements
Rank 1
Answers by
Missing User
sowjanya vunnava
Top achievements
Rank 1
Share this question
or