TestComplete with vmrun
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2010
10:08 PM
01-03-2010
10:08 PM
TestComplete with vmrun
I trying to run a testcomplete inside a virtual machine, through command line, using vmrun to start the TestComplete:
vmrun -T server -h https://pat111:1111/sdk -u adoniram -p 11111 -gu administrador -gp 111111 runProgramInGuest "[standard] Win XP adoniram/Windows XP Professional/winXPPro.vmx" "C:\Arquivos de programas\Automated QA\TestComplete 6\Bin\TestComplete.exe " "c:\teste_notepad.pjs " "/run"
The TestComplete application starts fine, but it doesn't run the test.
It just open the TestComplete with the last application tested.
vmrun -T server -h https://pat111:1111/sdk -u adoniram -p 11111 -gu administrador -gp 111111 runProgramInGuest "[standard] Win XP adoniram/Windows XP Professional/winXPPro.vmx" "C:\Arquivos de programas\Automated QA\TestComplete 6\Bin\TestComplete.exe " "c:\teste_notepad.pjs " "/run"
The TestComplete application starts fine, but it doesn't run the test.
It just open the TestComplete with the last application tested.
8 REPLIES 8
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010
01:46 AM
01-04-2010
01:46 AM
Hi Adoniram,
Just a guess, what if you enclose <command> into quotes?
I.e. :
... runProgramInGuest "[standard] Win XP adoniram/Windows XP Professional/winXPPro.vmx" """C:\Arquivos de programas\Automated QA\TestComplete 6\Bin\TestComplete.exe " "c:\teste_notepad.pjs " "/run"""
The exact syntax may be slightly incorrect, but the idea is to pass TestComplete.exe with its parameters as one (string) element to runProgramInGuest.
Regards,
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010
02:07 AM
01-04-2010
02:07 AM
Hi Alexei, thanks for reply.
I did what you say, but it give me a message "A file was not found".
I did what you say, but it give me a message "A file was not found".
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010
08:00 PM
01-04-2010
08:00 PM
Its not a TestComplete problem.
The vmrun only recognize the first parameter of TestComplete.
Thanks!!!!!
The vmrun only recognize the first parameter of TestComplete.
Thanks!!!!!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2010
08:08 PM
01-04-2010
08:08 PM
Hi,
In this case, what if you try to enclose with additional quotes only TestComplete parameters?
In this case, what if you try to enclose with additional quotes only TestComplete parameters?
Regards,
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
/Alex [Community Champion]
____
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2010
01:36 AM
01-05-2010
01:36 AM
I did it, but vmrun show me a "file not found" error message.
This way works:
vmrun -T server -h https://pat583:8333/sdk -u xxxxx -p 1111111 -gu yyyyyyyy -gp 111 runProgramInGuest "[standard] Win XP adoniram/Windows XP Professional/winXPPro.vmx" cmd.exe /c"c:\arquiv~1\automa~1\testco~1\bin\TestComplete.exe c:\\teste_winapp.pjs /r "
I pass TestComplete and its parameters as a cmd parameter.
This way works:
vmrun -T server -h https://pat583:8333/sdk -u xxxxx -p 1111111 -gu yyyyyyyy -gp 111 runProgramInGuest "[standard] Win XP adoniram/Windows XP Professional/winXPPro.vmx" cmd.exe /c"c:\arquiv~1\automa~1\testco~1\bin\TestComplete.exe c:\\teste_winapp.pjs /r "
I pass TestComplete and its parameters as a cmd parameter.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2010
08:55 AM
04-15-2010
08:55 AM
Hello,
I am trying to make this command work for some reason I am not successful. Can you pleaes let me know what I am doing wrong:
C:\Documents and Settings\Lax>vmrun -T ws -gu username -gp runProgramInGuest "C:\Documents and Settings\user\My Documents\My Virtual Machines\Windows XP Professional\Windows XP Professional.vmx" cmd.exe /k "C:\Progra~1\Autom~1\T
estComp~1\Bin\TestComplete.exe C:\ProjectSuite2\ProjectSuite2.pjs /r /p:Project1 /u:Unit1 /rt:Main"
This is not working. Can anybody tell me what I am doing wrong If I don't pass "C:\ProjectSuite2\ProjectSuite2.pjs /r /p:Project1 /u:Unit1 /rt:Main" then TC does start on the GuestBox.
I am trying to make this command work for some reason I am not successful. Can you pleaes let me know what I am doing wrong:
C:\Documents and Settings\Lax>vmrun -T ws -gu username -gp runProgramInGuest "C:\Documents and Settings\user\My Documents\My Virtual Machines\Windows XP Professional\Windows XP Professional.vmx" cmd.exe /k "C:\Progra~1\Autom~1\T
estComp~1\Bin\TestComplete.exe C:\ProjectSuite2\ProjectSuite2.pjs /r /p:Project1 /u:Unit1 /rt:Main"
This is not working. Can anybody tell me what I am doing wrong If I don't pass "C:\ProjectSuite2\ProjectSuite2.pjs /r /p:Project1 /u:Unit1 /rt:Main" then TC does start on the GuestBox.
Thanks
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2010
08:06 AM
04-16-2010
08:06 AM
I don't know if it's exactly what you're looking for, but we use PsExec
to launch TestExecute on a virtual machine remotely.
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
It seems to be similar to vmrun.
to launch TestExecute on a virtual machine remotely.
http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
It seems to be similar to vmrun.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2010
12:20 AM
04-19-2010
12:20 AM
Hi Laxmikant,
Actually, you are facing the issue with vmrun due to the fact that your command is too long. You need to shorten the command line. To do this, you can try moving the project suite to the root folder and reducing the number of arguments.
--
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Dmitry Nikolaev
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
