Locked Timed Out Exception in VSTS Ordered Test

  • Wednesday, February 08, 2012 12:58 PM
     
     

    HI Guys,

    I have 28 coded ui tests to cover the complete application functionlaity.here i have to run in a order to complete the app functinality, for this i am using ordered test in vsts 2010.

    For every 25 mins the ordered test is automaically getting aborted and showing error message called "Timed Out"

    I have changed the Timed outs in Local.Testsettings from 30 Mins to 3 Hours.Still i am facing the same issue.

    Is there any way to run the coded ui tests in a required order other than VSTS ordered test.

    Appreciate your reply on this.


    Thanks, Balanarasimha Reddy

All Replies

  • Wednesday, February 08, 2012 8:16 PM
     
     

    Balanarasimha Reddy,

    It sounds like you are doing the right thing by increasing the timeout settings.  Are you absolutely sure you are executing the Coded UI test with the appropriately modified Local.Testsettings file?

    If that still doesn't work, you may want to split the tests into 2 seperate orderedtests.  I know it sounds silly, but put half the tests in one and call it UITestsPartOne or something and put the other half in another.  I do this currently on a project I am working on as I am not guaranteed that a testsettings file will be available on a given test machine, so I ensure that each test does not execute for longer than 30 minutes.  The test execution is driven by a .bat script which calls MSTest via the command-line utility.

    OR

    You may want to set an explicit timeout attribute on your testmethods.

    See:

    http://social.msdn.microsoft.com/Forums/en-US/vststest/thread/f1981468-65ef-401a-a8b7-fb33160151a3

    Cheers,

    Paul

  • Tuesday, February 14, 2012 9:38 AM
    Moderator
     
     

    Hello Balanarasimha,

    What about your issue now? Does Paul's suggestion help you?

    Thanks.


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us

  • Tuesday, February 14, 2012 12:48 PM
     
     Proposed

    HI Vicky,

    Its solved .

    I  am changing Ordered test properties in list view.there we can find time out property for that ordered test.NO need to set an explicit timeout attribute on our testmethods.


    Thanks, Balanarasimha Reddy


  • Monday, March 05, 2012 2:36 PM
     
     

    HI Vicky,

    I am sorry again i am facing same issue.its not resolved.

    I have 28 coded ui tests to cover the complete application functionlaity.here i have to run in a order to complete the app functinality, for this i am using ordered test in vsts 2010.

    For every 25 mins the ordered test is automaically getting aborted and showing error message called "Timed Out"

    I am following below ways to overcome this problem.

    1.I have changed the Timed outs in Local.Testsettings from 30 Mins to 3 Hours.Still i am facing the same issue.

    2.I  am changing Ordered test properties in list view.there we can find time out property for that ordered test

    Is there any way to run the coded ui tests in a required order other than VSTS ordered test.

    Appreciate your reply on this.


    Thanks, Balanarasimha Reddy