How to paused webuitest during runtime


  • Hi,

    I would like to pause webuitest during runtime. Is it possible to that?

    Thank you.

    Tuesday, February 14, 2012 7:47 AM


All replies

  • Hi EsP_Unholy,

    Can you please explain in detail what you want to achieve?

    • Pause the running web test manually?
    • Pause the web test programatically?
    • Pause till what time?
    • Pause when?

    Is it a Web Performance Test or a Coded UI Test?


    Tuesday, February 14, 2012 9:11 AM
  • Hi TejasJ,

    İt isa CodedUitest and I want to pause the running web test maunlly and after that start the webtest where it left off.

    Thank you for response.

    • Edited by EsP_Unholy Tuesday, February 14, 2012 9:14 AM
    Tuesday, February 14, 2012 9:14 AM
  • you can start the test in debug mode and set a break point (do this from the debug menu, toolbar, or test view).


    Tuesday, February 14, 2012 3:01 PM
  • Thank for response TimJim,

    But I want to release  mode not debug mode.


    Tuesday, February 14, 2012 3:03 PM
  • HAve a look therough this page:


    If you are looking for the equivilent of a pause/resume I don't think you will get that without running the test in debug unless you modify the application under tests (add a configuration parameter of some sort or a hidden field you can manipulate or something like that) then modify the CUIT methods to check that value before each test.


    Tuesday, February 14, 2012 3:10 PM
  • Yes I agree with Tim.

    EsP_Unholy, if you can explain what you want to achieve by doing so, i.e. after pausing the test, what you want to do before you start it again, then it would be helpful for other members to provide suggestions/work arounds.

    Wednesday, February 15, 2012 5:39 AM
  • Thanks for your answers,

    Yes TejasJ TimJim's answers is corret for me. :)

    Thank you.

    Friday, February 17, 2012 7:50 AM