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

Capture HtmlAnchor click Event

1 Answer 57 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sandeep S
Top achievements
Rank 1
Sandeep S asked on 05 Sep 2013, 04:53 AM
I have the below code to logout of the application where Logout is HtmlAnchor element.
 
MyPageManager.MyPage1.MyPageHeader.Logout.Click();
 
I want to know if I can capture this click event.to do some additional operations after click. I am using this line in many of the test methods. If I am able to capture this click event I can do those additional operations in common place without having to modify each of the existing test method.

Let me know if it is possible.Thanks

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 09 Sep 2013, 01:37 PM
Hi Sandeep,

Thank you for contacting us.

Please elaborate a bit more on your scenario, what do you mean by capturing the click event.
What exactly do you want to achieve. 

Here is an article about javascript events.

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Sandeep S
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or