Command Line adapter execution is stuck at 50%
![](http://jazz.net/_images/myphoto/80647775e321ba9855f2d01af9cff6bc.jpg)
Hi,
I have created a test script (type: command line) and provided a batch file for execution. When I am trying to run the test case associated with it, it is getting stuck at 50%.
My batch file is getting executed because i can see the output. (Batch file has a simple command to create a text file). But in RQM the execution is showing as stuck at 50%.
![](https://jazz.net/forum/upfiles/CLA.jpg)
Can some one tell me where possibly can be the issue? I am using RQM v5.0
One answer
![](http://jazz.net/_images/myphoto/80647775e321ba9855f2d01af9cff6bc.jpg)
What might be happening here is that the Command Window never closes; for example, if I have the following in my batch file
notepad.exe
exit
..the command window does not close until the instance of Notepad is closed or saved; thus the Adapter still thinks the execution is ongoing
If you run your batch file on its own (You mentioned it creates a file); does the Command Window persist until the file is closed or saved?
Try creating a second batch file containing only
echo %USER%
..run it and see if it competes
Comments
Shuchita Tripathi
Dec 24 '14, 8:25 a.m.