Currently i do this with the recordings from the Setup and Teardown in their own modules (S and T), not in actual setup and teardown modules, and batch files that basically goes:
Code: Select all
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:S
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:A
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:C
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:B
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:D
START "Ranorex-Cmd" /D C:\PathtoTest\X\bin\Debug /WAIT /B X.exe /tc:T
Has somebody solved this previously? Another solution would be to have Solutions for every permutation, but i guess that would get unwieldy real quick, or to have the Solution contain a Smartfolder on loop, that contains all Modules as If-triggered folders, and then do something fun with global parameters, so It goes: First Iteration Global Parameter = A, Module A gets done and a module 'Iter' that changes the global param to the next character on the list, second Iteration: Global Parameter =C, Module C gets done, Iter changes global param to next value, etc. This would get the whole run into the Report, but somehow still feels clunky. Are there any more beautiful solutions?