Recordings Fail to execute
Posted: Fri Dec 21, 2012 10:26 am
Hi
I've only recently started using Ranorex for our testing & I'm having some difficulty getting individual recordings to execute.
I have set up so that I have two test cases with a number of recordings in them, if I run the test cases individually they execute fine, if however I select it so that the test cases run one after the other they fail. In both test cases I have a 'start up' recording and this is where the error occurs. I've installed a delay after the first test case to ensure the application is completely shut down before test case 2 tries to start it up again but it still fails to start properly using the recording.
I also have an issue where I try to run recordings individually if I run them as part of the test case they execute correctly if I run them as standalone recordings they fail because they can't find the image within the screen. I'm using dual monitors one monitor showing my application & the other Ranorex. The failure messages always show that the image found is in fact the Ranorex screen.
1. Why can't the two test cases run one after another?
2. Why can I run a recording without problem when it's part of a test case but it fails when run by itself?
I'm running Ranorex 4.00
Any help will be much appreciated
Thanks
I've only recently started using Ranorex for our testing & I'm having some difficulty getting individual recordings to execute.
I have set up so that I have two test cases with a number of recordings in them, if I run the test cases individually they execute fine, if however I select it so that the test cases run one after the other they fail. In both test cases I have a 'start up' recording and this is where the error occurs. I've installed a delay after the first test case to ensure the application is completely shut down before test case 2 tries to start it up again but it still fails to start properly using the recording.
I also have an issue where I try to run recordings individually if I run them as part of the test case they execute correctly if I run them as standalone recordings they fail because they can't find the image within the screen. I'm using dual monitors one monitor showing my application & the other Ranorex. The failure messages always show that the image found is in fact the Ranorex screen.
1. Why can't the two test cases run one after another?
2. Why can I run a recording without problem when it's part of a test case but it fails when run by itself?
I'm running Ranorex 4.00
Any help will be much appreciated
Thanks