I have a macro to run a batch file to run again ui vision after completed test suite (to do a loop of test suite).
I maked this test on RDP machine to try a loop test suite but latest macro xrun a batch file to run test suite again and close browser but do not work xrun.
I run a test suite, after the last macro use command xrun to run a batch file to run again RPA and close browser, I wait to have batch file opened to run RPA again.
But if i run batch file with xrun using rpa manually it start and working well.
If i run xrun and after RPA will be closed do not work and batch file do not start.
Where I wrong ?
Any help please ?
Macro Code
{
“Name”: “end”,
“CreationDate”: “2020-4-1”,
“Commands”: [
{
“Command”: “store”,
“Target”: “true”,
“Value”: “!errorIgnore”
},
{
“Command”: “bringBrowserToForeground”,
“Target”: “”,
“Value”: “”
},
{
“Command”: “XRun”,
“Target”: “C:\Users\XXX\Desktop\run-firefox-portable-rpa.bat”,
“Value”: “”
},
{
“Command”: “pause”,
“Target”: “5000”,
“Value”: “”
},
{
“Command”: “echo”,
“Target”: “Test Suite Completed, Closing Browser And Start Test Suite Again”,
“Value”: “#shownotification”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
},
{
“Command”: “XType”,
“Target”: “${KEY_CTRL+KEY_W}”,
“Value”: “”
}
]
}
The batch file is a simple batch file to run a test suite that working when you run it manually.
Browser used firefox