Page 1 of 1

Why are some test steps not running?

Posted: Fri Feb 12, 2021 6:26 pm
by Fergal
Ranorex 9.3.2 Windows 10

I have a Ranorex test suite with a hierarchy like this:

Test Suite > Smart Folder > Test Cases > Smart Folders > recording modules

There is a validation module in this test suite that is running fine in all Test Cases except one. In the problem test case only the first step in the validation module runs. The remaining steps don't run, the test passes but only the first step in the validation module runs.

The steps that are not running are steps to:

Wait for document loaded
Get a value from the app
Report that value

The module runs fine when it is run on its own and when it is run in all test cases except one.

Are there any known reasons for test steps not to run?

Thanks

Re: Why are some test steps not running?

Posted: Mon Feb 15, 2021 8:56 am
by Stub
Conditions on a folder or folders marked not to run? I sometimes use a CM a dynamically UNcheck child folders, to programatically disable test segments, but that's obviously more deliberate.

Re: Why are some test steps not running?

Posted: Mon Feb 15, 2021 12:43 pm
by Fergal
Thanks for your reply Stub. Some smart folders in the parent test case do have conditions. However, there are no conditions on the test case and there are no conditions on the smart folder that contains the module that is not running correctly. Also the first step in the problem module is running correctly, but the subsequent steps are not running. I did have a feeling that the issue might be related to a condition, but can't see how any condition could be impacting on those non-running steps.

Re: Why are some test steps not running?

Posted: Thu Feb 18, 2021 11:41 am
by Fergal
This is still an issue in my test suite. Anyone have any ideas?

Thanks

Re: Why are some test steps not running?

Posted: Sun Feb 21, 2021 12:50 pm
by rastek
sometime we have similar issue. Ranorex stops in the middle of the test without any report or error, totaly unknown

Re: Why are some test steps not running?

Posted: Thu Mar 04, 2021 3:32 pm
by Fergal
Thanks for your reply rastek , has this been resolved for you?

Re: Why are some test steps not running?

Posted: Wed Mar 10, 2021 2:38 pm
by eldorado25
Hi,

this tends to occur super randomly for me.

the solution that tends to work for me is either:
re-doing the repository element - so deleting it and re-inputting it
or
re-do the steps again by deleting the initial ones and re-writing (pasting won't work for some reason)

It is a hassle - I would raise a bug about it but it's just too random to narrow down.