Can anyone tell me the expected behaviour in the following case:
1. Created tests using Ranorex Studio.
2. Added break points in the tests for the purpose of debugging.
3. Executed the test using a batch file.
Should the test execution pause for user input at the breakpoints?
In Ranorex 5.4.5 & 6.0, it doesn't pause at the breakpoint and the execution continues.
Break point functioning when executed via batch file.
-
- Posts: 32
- Joined: Fri May 20, 2016 9:43 am
Re: Break point functioning when executed via batch file.
Hi,
In my opinion, it's SharpDevelop related limitation. Simply, Ranorex is built on top of SharpDevelop (an open source .Net IDE). If something coding/debugging related is not supported by SharpDevelop, it usually does not work in Ranorex either.
In my opinion, it's SharpDevelop related limitation. Simply, Ranorex is built on top of SharpDevelop (an open source .Net IDE). If something coding/debugging related is not supported by SharpDevelop, it usually does not work in Ranorex either.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Break point functioning when executed via batch file.
If you are running the test from the command-line (or batch file) without specifically attaching the .NET debugger, then it WILL NOT STOP for break points...
This is not an 'issue' with Ranorex or SharpDevelop, but is the same for any .NET application. You must attach the .NET debugger in order to hit break points.
My suggestion is that if you want to use the break points, you should run in Ranorex Studio or Visual Studio. Running the debugger in stand-alone mode is a pain.
This is not an 'issue' with Ranorex or SharpDevelop, but is the same for any .NET application. You must attach the .NET debugger in order to hit break points.
My suggestion is that if you want to use the break points, you should run in Ranorex Studio or Visual Studio. Running the debugger in stand-alone mode is a pain.
Shortcuts usually aren't...
-
- Posts: 32
- Joined: Fri May 20, 2016 9:43 am
Re: Break point functioning when executed via batch file.
That makes sense krstcs. Thanks.