Initialization Failed error while trying to run a test created using coded ui test builder
-
Monday, May 31, 2010 10:45 AM
Ok I am really new with Automation Testing...rather new in Testing itself. Recently started using Coded UI Testing for one of my project.
I created a coded ui test using a its test builder. Recorder something, made it data driven, etc. It was workin fine yesterday. Today whn I am trying to run the same test, it fails in initialization.The test result details shows following error: Playback engine is already initialized and SkipStepThreadEvent has been created. Cannot change the name of event after its is created.
Can somebody help me to fix this....
Answers
-
Monday, May 31, 2010 10:57 AMModerator
Hi
Can you kill Qtagent32.exe and then try running the test?
Thanks
Siddhartha
- Proposed As Answer by Siddhartha Pandey - MSFTMicrosoft Employee, Moderator Monday, May 31, 2010 10:57 AM
- Marked As Answer by PiaBarve Monday, May 31, 2010 10:59 AM
All Replies
-
Monday, May 31, 2010 10:50 AMModerator
Hi,
This error means that playback was not cleaned up properly due to some reasons. You can have any one of these workarounds to solve this
1) Kill QtAgent32.exe
OR
2) Goto Tools->Options in VS. In that Click on TestTools->TestExecution tree item. On the right pane uncheck "Keep the test execution engine running between test runs"
Thanks
Siddhartha
- Proposed As Answer by Siddhartha Pandey - MSFTMicrosoft Employee, Moderator Monday, May 31, 2010 10:50 AM
-
Monday, May 31, 2010 10:55 AM
I did it but now I am getting this error while trying to run it:
Error 1 Unable to copy file "obj\Debug\Omni_Check.dll" to "bin\Debug\Omni_Check.dll". The process cannot access the file 'bin\Debug\Omni_Check.dll' because it is being used by another process. Omni_Check
-
Monday, May 31, 2010 10:57 AMModerator
Hi
Can you kill Qtagent32.exe and then try running the test?
Thanks
Siddhartha
- Proposed As Answer by Siddhartha Pandey - MSFTMicrosoft Employee, Moderator Monday, May 31, 2010 10:57 AM
- Marked As Answer by PiaBarve Monday, May 31, 2010 10:59 AM
-
Monday, May 31, 2010 11:53 AM
Yes its working now...Thanks- Proposed As Answer by Balanarasimha Tippasani Friday, February 10, 2012 5:16 AM