cancel
Showing results for 
Search instead for 
Did you mean: 

Running TestComplete / TestExecute test triggered by QAComplete on remote machine

Highlighted
Super Contributor

Running TestComplete / TestExecute test triggered by QAComplete on remote machine

I am trying to run my test complete test from QAComplete. My test run result fails

 

Cannot create a user session.
The following error occurred: 
Invalid number of command-line arguments.

 

Before I go to far, I have been kind of stumbling through this.  I wonder if someone can point me to the documentatin on the right way to set this up before I trouble the board and/or support. I would like to step through it carefully before proceeding. Thanks.

2 REPLIES
Moderator

Re: Running TestComplete / TestExecute test triggered by QAComplete on remote machine

Hi,

 

Here you can find step-by-step instruction for creating TC automations with a detailed description of the parameters you are expected to specify:

https://support.smartbear.com/qacomplete/docs/user/test-management/library/automated/automations/tes...

 

Here you can find the list of the TestComplete command line arguments:

https://support.smartbear.com/testcomplete/docs/working-with/automating/command-line-and-exit-codes/...

 

In this KB article, you can find suggestions on how to troubleshoot the "Cannot create a user session" error: https://smartbear-cc.force.com/portal/KbArticleViewer?name=Cannot-create-a-user-session-error&sp=qac...

 

If this does not help, feel free to open a support ticket here:

https://support.smartbear.com/message/?prod=QAComplete

 

Please include into your submission a screenshot of the error you get and Test Agent logs from the problematic host. Here are the steps to collect the logs:

1. Run <Test Agent Installation>\Bin\TestAgentSettings.exe utility.

2. Click "Advanced Settings..." and on the "Misc" tab enable the "Collect Test Agent execution logs" option.

3. Close the utility.

4. Reproduce the issue.

5. Run the TestAgentSettings.exe utility and under "Advanced Settings..." > "Misc" click "Generate Report".

6. Disable the "Collect Test Agent execution logs" option and close the utility.

7. Send us the generated report.

 

Alexandra Ilyukhina

Customer Care Engineer
Super Contributor

Re: Running TestComplete / TestExecute test triggered by QAComplete on remote machine

Thank you. I will check this all out and come back and mark as solution OR ask questions as need be. I appreciate your help.

 

 

2018 NEWS