Play recording works fine, compiled version does not
Posted: Tue Feb 09, 2010 10:45 pm
I'm struggling to understand what's going wrong as it seems nothing on my part is wrong.
The scenario is as follows:
I've created a recording, at first without any user code in it. When playing the recording (clicking the green Play button in the rxrec file), the commands are being processed as expected. However, when I try to run the project which calls only that recording which was working properly when played, the projects compiles just fine but fails every time on the first step, with an ElementNotFoundException referring to the first step's element.
How can that be? Everything in the generated code (which I have not touched) seems perfectly normal.
I've increased the Maximum length of text values in RanoreXPaths to 1000 (to make sure lengthy repository names are not causing any problem) and increased the generation tree search depth to 4 (depth of element in the repository is up to 3).
What's going on here?
Using version 2.2.1.7599 on a .NET winform application
The scenario is as follows:
I've created a recording, at first without any user code in it. When playing the recording (clicking the green Play button in the rxrec file), the commands are being processed as expected. However, when I try to run the project which calls only that recording which was working properly when played, the projects compiles just fine but fails every time on the first step, with an ElementNotFoundException referring to the first step's element.
How can that be? Everything in the generated code (which I have not touched) seems perfectly normal.
I've increased the Maximum length of text values in RanoreXPaths to 1000 (to make sure lengthy repository names are not causing any problem) and increased the generation tree search depth to 4 (depth of element in the repository is up to 3).
What's going on here?
Using version 2.2.1.7599 on a .NET winform application