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

2 posts, 0 answers
  1. Fion
    Fion avatar
    11 posts
    Member since:
    Jun 2013

    Posted 21 Jul 2013 Link to this post


    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!

  2. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 23 Jul 2013 Link to this post

    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. 

    Boyan Boev
    We've released our first-ever public Test Studio BETA! Download the BETA, install it,
    and send us your feedback! Expires mid-August!
Back to Top