Page 1 of 1

Step-by-Step execution

Posted: Tue Oct 17, 2017 2:38 pm
by tbose
Hi everyone,

I am a newbie to Ranorex Studio, but after searching this forum and the online help, I didn`t find an answer to the following question:

is it possible to execute each item in my recordings/automation code in a step-by-step manner?

I know it`s possible to execute each single step via context menu --> "Run Selected Item(s)", but instead of having to do it manually for each step (whilch will compile the whole solution every time...), I am looking for an automated step-by-step execution way, where I only have to press a shortcut/button to continue the test run to the next step and halt there again until I choose to continue for the next step and so forth (like automated break points after each step).

Would be greatly helpful imho in order to debug test automation code, but maybe it´s just me requesting such feature because I am newbie to Ranorex :? :wink:

I hope I was clear enough with the above description.
Please let me know if you have questions regarding my request.

Thanks for your reply!

Re: Step-by-Step execution

Posted: Tue Oct 17, 2017 7:00 pm
by odklizec
Hi,

The only way to achieve what you want is to add a breakpoint somewhere in recording (its auto-generated cs file) and run the solution in debug mode (with attached debugger). Execution hould stop at the breakpoint. Then you can use F11 to jump to next line of code. Hope this helps?

Re: Step-by-Step execution

Posted: Wed Oct 18, 2017 9:15 am
by tbose
Hi odklizec,

thanks for the quick reply!
I will check out your suggestion and see whether it`s convenient for my purpose.