Forum Discussion

mortenb123's avatar
mortenb123
Contributor
5 days ago

A floating license among two machines

I get this from my python/powershell wrapper that starts `test execute`:

This comes because the license was being used on another machine, And I did not explicitly log in.
If I start testexecute manually and login all is fine.

We now have two machines using this license running at different times. How can I automate this?

https://support.smartbear.com/testexecute/docs/running/automating/command-line/command-line.html

On https://manage.smartbear.com/ I see my floating license but no `Access Key` in the top right menu:


```

exe:& "C:\\Program Files (x86)\\SmartBear\\TestExecute15\\x64\\Bin\\TestExecute.exe" \
 "C:\SharedArea\TestAutomation_test12\\TestProject\\LraTestProjectSuite.pjs" /r /p:EpicIteration \
 /lraenvironment:SemiReal /lrapath:"C:\SharedArea\TestAutomation_test12\\testedApp" \
 /lrapathlocal:"C:\SharedArea\TestAutomation_test12\\testedApp\\LraClient.exe \
 /appconfig:TestConfigs\\local-test12.config" \
 /lrapathbuypass:"C:\SharedArea\TestAutomation_test12\\testedApp\\LraClient.exe \
 /appconfig:TestConfigs\\buypass-test12.config" \
 /lrapathmixed:"C:\SharedArea\TestAutomation_test12\\testedApp\\LraClient.exe \
 /appconfig:TestConfigs\\mixed-test12.config" /e \
 /el:"C:\\SharedArea\\reports\\SemiReal\\Win11-202503261556\\index.html" \
 /testUsersDatafilePath:"C:\SharedArea\TestAutomation_test12\\TestProject\\Stores\\Files\\Users-test12.json" \
 /executionTime:"202503261556" \
 /ErrorLog:"C:\\SharedArea\\reports\\SemiReal\\Win11-202503261556\\errors.log" \
 /ForceConversion /SilentMode /DoNotShowLog

Error: The user did not log in using the SmartBear account or did not pass the accesskey in the command-line arguments. TestComplete will be closed. 



--
Thanks
Morten Bjoernsvik, Buypass AS, Oslo Norway

4 Replies