Hi Team,
I have come across with a very strange problem in my test suite. when I run it over bat file for like multiple times, test suite is not failing even once but when I try the same in Ranorex Studio I mean normal execution through studio, its failing at some or the other point every time.
I am not able to figure out the reason, can you help ?
Bat file never fails but studio execution is failing
Bat file never fails but studio execution is failing
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: Bat file never fails but studio execution is failing
Hi,
I'm afraid, there is not enough information about the problem, to provide a reasonable answer. Could you please post, what error exactly you getting? And what are the steps before failing action?
I'm afraid, there is not enough information about the problem, to provide a reasonable answer. Could you please post, what error exactly you getting? And what are the steps before failing action?
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: Bat file never fails but studio execution is failing
More information is :
Ranorex version : 8.1.2
Execution OS : windows
I feel, Failed cases and errors will not be worth mentioning to make you identify the problem. but yes one thing can, Say like I have to select from a dropdown field name country "US". So, when I am running this test case on Bat file (in which I have mentioned .exe of particular solution), it passes. While on other side when I run it on Ranorex studio it fails. Like such I got so many scenarios of drop down failure.
Ranorex version : 8.1.2
Execution OS : windows
I feel, Failed cases and errors will not be worth mentioning to make you identify the problem. but yes one thing can, Say like I have to select from a dropdown field name country "US". So, when I am running this test case on Bat file (in which I have mentioned .exe of particular solution), it passes. While on other side when I run it on Ranorex studio it fails. Like such I got so many scenarios of drop down failure.
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: Bat file never fails but studio execution is failing
Hey, I got the solution. Thanks for your support. 

Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User
Re: Bat file never fails but studio execution is failing
Good to hear that! This happens to me as well. Almost immediately I post a question here, I find the answer myself
BTW, could you please share your solution? It may help someone else with similar problem. Thanks.

BTW, could you please share your solution? It may help someone else with similar problem. Thanks.
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: Bat file never fails but studio execution is failing
Sure, I did enable to fail for few fields. So, when I disabled it. It passes perfectly now in Ranorex Studio as well as in Bat. Nowhere relevant but dont know worked for me.
Thanks.
Thanks.
Regards,
Charu Solanki
Ranorex User
Charu Solanki
Ranorex User