How to debug in Ranorex webtestit



How to debug our test code at a specific code line (Breakpoints).



Hi @TGihan! Currently, we don’t have the possibility to add breakpoints to the specific line and debug it, but you can use the “Run test in diagnostic mode” feature from the context menu in the code editor.You can check out this article, if you want to know more about it. The diagnostic mode keeps the browser open at the point the test step failed. Furthermore, we are planning to implement step-by-step test execution as a way of debugging.
What are your expectations from an IDE as far as debugging goes?
Thanks for your feedback!


Hi @smatijas

Thank you for your reply, I will try it. Please see below expectation

There should be a command execute panel to fire any command (see below mentioned command) and see the result in run time when reach to a specific break point and should be able to see all the variables values up to that point. That command should not affect to the current execution failure and after check any command user should be able to continue with debugging.

Sample command: driver.findElement(By.xpath("//input[text()='username']")).click()

Appreciate if you can add above feature when implement debugging.



@TGihan Thank you for the informations about this. We will consider your input when integrating the step-by-step execution and debugging feature. I will keep you updated on this!
Kind regards