We have to create BAT file and double click on file We can check Pass/Fail status in just one click — no Commander needed.
Creating BAT file:
๐ง ๐๐ญ๐๐ฉ ๐ – ๐๐ซ๐๐๐ญ๐ ๐ ๐๐๐ ๐๐ข๐ฅ๐ ๐๐๐ญ๐๐๐ฌ๐ฎ๐ฅ๐ญ๐ฌ.๐๐๐
๐๐๐ก ๐๐ข๐๐๐๐๐๐๐๐๐ ๐ก๐ถ๐๐ ๐๐ ๐๐๐ ๐ ๐๐
๐๐๐ก ๐๐ข๐๐๐๐๐๐๐๐๐ ๐ก๐ถ๐๐ ๐๐ ๐น๐๐๐๐๐
๐ง ๐๐ญ๐๐ฉ ๐ – ๐๐ซ๐๐๐ญ๐ ๐๐ง๐จ๐ญ๐ก๐๐ซ ๐๐ข๐ฅ๐ ๐๐ฎ๐ง๐๐๐๐๐จ๐๐๐ญ๐๐ก๐๐๐ญ๐๐ญ๐ฎ๐ฌ.๐๐๐
This one jumps to Execution List and calls the result fetcher:
๐ฝ๐ข๐๐๐๐๐๐๐๐ "/๐ธ๐ฅ๐๐๐ข๐ก๐๐๐/๐ธ2๐ธ ๐ธ๐ฅ๐๐๐ข๐ก๐๐๐/๐ธ๐ฅ๐๐๐ข๐ก๐๐๐๐ฟ๐๐ ๐ก๐ "
๐น๐๐ =>๐๐๐ต๐๐ด๐
๐๐:๐ธ๐ฅ๐๐๐ข๐ก๐๐๐๐ฟ๐๐ ๐ก ๐ถ๐๐๐๐๐๐ธ๐๐โ "๐ท:\\๐๐๐ ๐๐\\๐๐๐โ๐๐๐\\๐บ๐๐ก๐๐๐ ๐ ๐น๐๐๐๐
๐๐ ๐ข๐๐ก\\๐บ๐๐ก๐
๐๐ ๐ข๐๐ก.๐ก๐๐ "
๐ธ๐ฅ๐๐ก
๐ง ๐๐ญ๐๐ฉ ๐ – ๐๐ซ๐๐๐ญ๐ ๐๐๐ก๐๐๐ฎ๐ฅ๐๐๐๐ญ๐๐ก๐ ๐ข๐ฅ๐.๐๐๐ญ
This will open the workspace, authenticate, and call the above script:
"๐ถ:\๐๐๐๐๐๐๐ ๐น๐๐๐๐ (๐ฅ86)\๐๐
๐ผ๐ถ๐ธ๐๐๐ผ๐\๐๐๐ ๐๐ ๐๐๐ ๐ก๐ ๐ข๐๐ก๐\๐๐๐ ๐๐๐ถ๐๐๐๐๐๐๐๐\๐๐ถ๐โ๐๐๐.๐๐ฅ๐" -๐ค๐๐๐๐ ๐๐๐๐ "{๐๐๐๐๐ ๐๐๐๐๐๐๐กโ}" -๐๐๐๐๐ "{๐๐ ๐๐๐๐๐๐}" "{๐๐๐ ๐ ๐ค๐๐๐}" "{๐
๐ข๐๐๐๐ฟ๐๐๐บ๐๐ก๐โ๐๐๐ก๐๐ก๐ข๐ .๐๐ถ๐ ๐น๐๐๐ ๐๐๐กโ}"
๐ง ๐๐ญ๐๐ฉ ๐ – ๐๐ซ๐๐๐ญ๐ ๐จ๐ง๐ ๐๐ข๐ง๐๐ฅ ๐๐๐ ๐๐ข๐ฅ๐ ๐ญ๐จ ๐ฌ๐ญ๐จ๐ซ๐ ๐จ๐ฎ๐ญ๐ฉ๐ฎ๐ญ ๐ข๐ง ๐ .๐ญ๐ฑ๐ญ ๐๐ข๐ฅ๐
"{๐๐โ๐๐๐ข๐๐๐ต๐๐ก๐โ๐น๐๐๐.๐ต๐๐ก ๐๐๐๐ ๐๐๐กโ}" > "{๐๐๐ข๐๐
๐๐ ๐ข๐๐ก๐น๐๐๐๐๐๐๐๐กโ\๐๐๐ ๐ก๐
๐๐ ๐ข๐๐ก.๐ก๐ฅ๐ก}"
✅ End Result?
You get a TestResult.txt file with Pass/Fail counts ✔️
→ Quick
→ Clean
→ Commander-free
๐ ๐๐จ๐ง๐ฎ๐ฌ ๐๐ข๐ฉ: ๐๐๐ก๐๐๐ฎ๐ฅ๐ ๐ญ๐ก๐ข๐ฌ ๐๐๐ ๐๐ข๐ฅ๐ ๐ฐ๐ข๐ญ๐ก ๐๐ข๐ง๐๐จ๐ฐ๐ฌ ๐๐๐ฌ๐ค ๐๐๐ก๐๐๐ฎ๐ฅ๐๐ซ — ๐ ๐๐ญ ๐ฒ๐จ๐ฎ๐ซ ๐ซ๐๐ฉ๐จ๐ซ๐ญ ๐ซ๐๐๐๐ฒ ๐๐๐๐จ๐ซ๐ ๐ฒ๐จ๐ฎ๐ซ ๐๐จ๐๐๐๐ ๐๐ซ๐๐ฐ๐ฌ ☕
REM Example BAT file content cd "C:\Program Files\TRICENTIS\Tosca Commander" TCShell.exe -f "C:\Path\To\Your\Script.tcs" -w "C:\Path\To\Your\Workspace.tws" -u "YourUsername"
-What steps were performed
-What data was used
-What passed or failed
Benefit-This helps in finding issues, showing proof of testing, and creating reports.
๐ ️ How Does It Work?
1. Turn on Execution Recording
* You can switch it on in the Tosca settings.
* Path: Project → Settings → Execution → ExecutionLogEnabled = True
2. Run Your Test
Run your test from Tosca Commander*or an ExecutionList.
* Tosca will record:
-Every step clicked or typed
-Input/output data
-Results of each step (Pass/Fail)
-Screenshots (if enabled)
3. See the Results
* Go to the ExecutionList → ActualLog.
* You can get below:
-Which steps ran
-Which ones passed or failed
-Any error messages
-Screenshots (if set up)
4. Detailed View
--Click on any test step to check:
-What was expected
-What was actually done
-What data was used
5. Export or Share
You can save the results as:
-PDF
-Excel
-HTML
You can send them to tools like: qTest,JIRA,Jenkins.