Paralleled mouse behaviors simulation

4 posts, 0 answers
  1. Minwei
    Minwei avatar
    31 posts
    Member since:
    Jul 2010

    Posted 05 May 2011 Link to this post

    I am using Visual Studio Mstest to execute the Silverlight test cases with WebAii Testing Framework.

    The test cases work well for single-thread execution, which means executing test cases one by one. And the "Mouse.Click" method can simulate mouse behaviors in browser perfectly.

    But if I execute multiple test cases in parallel, in this situation multiple browsers will be started for each test case at same time. Then only the first activated browser can accept the Mouse.Click behavior, other test cases all failed due to browser can't receive the mouse click behavior - they are all behind the top activated browser.

    My question is, is there any solution can handle the test cases execution in parallel, so that different browsers can accept corresponding mouse/keyboard behaviors.

    Thanks in advance for your help.
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 05 May 2011 Link to this post

    Hi Minwei,

    Not easily, but it is possible. First refer to this documentation. I also must warn you that the Testing Framework is NOT multi-thread safe.

    Kind regards,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Minwei
    Minwei avatar
    31 posts
    Member since:
    Jul 2010

    Posted 05 May 2011 Link to this post

    Hi Cody,

    Thanks for the quick response, I'll check your link to find some solution then.

    Btw, will telerik team have the plan to support multi-thread? 

    Thanks,
    Minwei
  4. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 06 May 2011 Link to this post

    Hi Minwei,

    Regarding multi-threading support, all I can say for certain is that it is not included in our road map for the next year. The future of Test Studio hasn't been clearly defined beyond that.

    Regards,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top