Hi,
I installed Ranorex 5.3 and when I run through my code in VS2012 or run the compiled script, it always dies when it hits a Ranorex.Delay.Seconds(x) line, where x is some integer like 1, 2, or 5.
Aracknid.
5.3 stops running on Ranorex.Delay code
Re: 5.3 stops running on Ranorex.Delay code
OK, I think I prematurely posted the above...
I'm not really sure why my script stops running, but I believe it's when it tries to execute Ranorex code. The Delay is 'almost' the very first Ranorex code called. All the code before is just regular VB.net code.
The only Ranorex code I call before is:
Ranorex.Mouse.DefaultMoveTime = 0
Ranorex.Mouse.DefaultClickTime = 0
Ranorex.Keyboard.DefaultKeyPressTime = 0
And that seems to work.
Does this by chance have anything to do with acquiring a license file? I didn't update my license server to 5.3. It's still an older version...
Aracknid
I'm not really sure why my script stops running, but I believe it's when it tries to execute Ranorex code. The Delay is 'almost' the very first Ranorex code called. All the code before is just regular VB.net code.
The only Ranorex code I call before is:
Ranorex.Mouse.DefaultMoveTime = 0
Ranorex.Mouse.DefaultClickTime = 0
Ranorex.Keyboard.DefaultKeyPressTime = 0
And that seems to work.
Does this by chance have anything to do with acquiring a license file? I didn't update my license server to 5.3. It's still an older version...
Aracknid
Re: 5.3 stops running on Ranorex.Delay code
Yes, it's most probably "old" license server issue. Ranorex 5.3 refuses to start with old license server and the same most probably happens if you try to run compiled 5.3 project with 5.2 runtime license.
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
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 5.3 stops running on Ranorex.Delay code
Just look at the console output you get or if any exceptions are thrown. If a licensing issue is the cause, Ranorex will definitely log the error or throw a meaningful exception.Aracknid wrote:Does this by chance have anything to do with acquiring a license file?
Regards,
Alex
Ranorex Team