I am new to Ranorex and having trouble finding out the cause of test failures. I have recorded an automated test manually without error. When I play it back through Ranorex it does not complete and a red line appears. How do I obtain information from that 'red line' to find out why the test is failing?? An error log or description of sorts?
Thanks
Chris
Error handling on failed tests
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Error handling on failed tests
Hi,
the red line tells you the cause of the probelm.
Additional you can jump to the item where the problem occurs and you can analyze the item using Ranorex Spy.
e.g.: tells you, that the adapter "Some_Adapter" was not found. You can jumpt to the item and open it in Ranorex Spy.
Regards,
Tobias
Support Team
the red line tells you the cause of the probelm.
Additional you can jump to the item where the problem occurs and you can analyze the item using Ranorex Spy.
e.g.: tells you, that the adapter "Some_Adapter" was not found. You can jumpt to the item and open it in Ranorex Spy.
Regards,
Tobias
Support Team
You do not have the required permissions to view the files attached to this post.
-
- Posts: 25
- Joined: Tue Mar 08, 2011 11:07 am
Re: Error handling on failed tests
Hi, thanks for your responce. The red line i see does not look like that, its purely the text in the row that is red where as tests that are ok are green?
How do i get to the view you have sent me ??
Regards
Chris
How do i get to the view you have sent me ??
Regards
Chris
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Error handling on failed tests
Hi Chris,
This new view was delivered with Ranorex 3.0. Which version have you installed on your machine?
Regards,
Peter
Ranorex Team
This new view was delivered with Ranorex 3.0. Which version have you installed on your machine?
Regards,
Peter
Ranorex Team
Re: Error handling on failed tests
Have you tried wrapping your test code sections in Try/Catch blocks to catch exceptions in code and be able to deal with them appropriately?
I.E.
Also, with the "red text" are you talking about the text that is displayed in a command prompt window that shows the current status of the test as it is running? If so, the "view" that Peter is mentioning is the result log that is displayed in the Report Viewer or your current browser (depending on how you are set up).
I.E.
Code: Select all
try
{
do stuff...
}
catch (exception e)
{
report on what e is...
}
Also, with the "red text" are you talking about the text that is displayed in a command prompt window that shows the current status of the test as it is running? If so, the "view" that Peter is mentioning is the result log that is displayed in the Report Viewer or your current browser (depending on how you are set up).
If this or any response has helped you, please reply to the thread stating that it worked so other people with a similar issue will know how you fixed your issue!
Ciege...
Ciege...
-
- Posts: 25
- Joined: Tue Mar 08, 2011 11:07 am
Re: Error handling on failed tests
I am currently on version 2.3.5.10317. It's a fully licensed version, am I able to download the latest version from Ranorex?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Error handling on failed tests
Hi,
we've just sent you a mail covering all information about your license and subscription.
Please see the mail for further information.
Kind regards,
Tobias
Support Team
we've just sent you a mail covering all information about your license and subscription.
Please see the mail for further information.
Kind regards,
Tobias
Support Team