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

Wait for condition timed out error and some properties can not find

1 Answer 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Fion
Top achievements
Rank 1
Fion asked on 21 Jul 2013, 01:32 PM
Hi,

I got "time out" error on execution test step which was successfully performed (as I can see directly in browser and loaded next step), but current step show failed status even I did not add assertion in it.

I have searched some relevant threads, there is a solution is changing the click step's "SimulateRealClick" property value as 'true', but I think this is for the recording steps, so what about the step in code, I noticed there is no "SimulateRealClick" property in the right panel within code step?

Also I saw a bunch of properties can be modified according to the http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/modifying-tests/change-test-step-properties.aspx link, is there any detail document or page that I can refer to, cause some of them just don't know how to invoke, like "FireKeyEvents", "SimulateRealClick" and so on?

Could you help me? Thanks in advance!

Regards,
Fion

1 Answer, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 23 Jul 2013, 12:54 PM
Hi Fion,

You can set the SimulateRealClick in coded step to true by calling MouseClick method. Here is an example.

HtmlAnchor anchor = ActiveBrowser.Find.ById<HtmlAnchor>("myID");
anchor.MouseClick(); //This will perform a real click!

Let me know if you need further assistance. 

Regards,
Boyan Boev
Telerik
We've released our first-ever public Test Studio BETA! Download the BETA, install it,
and send us your feedback! Expires mid-August!
Tags
General Discussions
Asked by
Fion
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Share this question
or