How to paused webuitest during runtime
-
14 februarie 2012 07:47
Hi,
I would like to pause webuitest during runtime. Is it possible to that?
Thank you.
Toate mesajele
-
14 februarie 2012 09:11
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?
-Tejas.
-
14 februarie 2012 09:14
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.
- Editat de EsP_Unholy 14 februarie 2012 09:14
-
14 februarie 2012 15:01you can start the test in debug mode and set a break point (do this from the debug menu, toolbar, or test view).
Tim
-
14 februarie 2012 15:03
Thank for response TimJim,
But I want to release mode not debug mode.
Thanks.
-
14 februarie 2012 15:10
HAve a look therough this page:
http://msdn.microsoft.com/en-us/library/gg131072.aspx
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.
Tim
- Propus ca răspuns de Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator 17 februarie 2012 07:17
- Marcat ca răspuns de EsP_Unholy 17 februarie 2012 07:25
-
15 februarie 2012 05:39
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.
-
17 februarie 2012 07:50
Thanks for your answers,
Yes TejasJ TimJim's answers is corret for me. :)
Thank you.