How to paused webuitest during runtime
-
14 Februari 2012 7:47
Hi,
I would like to pause webuitest during runtime. Is it possible to that?
Thank you.
Semua Balasan
-
14 Februari 2012 9: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 Februari 2012 9: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.
- Diedit oleh EsP_Unholy 14 Februari 2012 9:14
-
14 Februari 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 Februari 2012 15:03
Thank for response TimJim,
But I want to release mode not debug mode.
Thanks.
-
14 Februari 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
- Disarankan sebagai Jawaban oleh Jack Zhai - MSFTMicrosoft Contingent Staff, Moderator 17 Februari 2012 7:17
- Ditandai sebagai Jawaban oleh EsP_Unholy 17 Februari 2012 7:25
-
15 Februari 2012 5: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 Februari 2012 7:50
Thanks for your answers,
Yes TejasJ TimJim's answers is corret for me. :)
Thank you.