setting date field to sysdate

Ranorex Studio, Spy, Recorder, and Driver.
Chris Wright
Posts: 25
Joined: Tue Mar 08, 2011 11:07 am

setting date field to sysdate

Post by Chris Wright » Fri Mar 23, 2012 4:24 pm

Hi,

I am trying to create a test where one of the fields is a date field that must be set to sysdate or greater. The issue is that the date is selected from a drop calendar which obvoiusly means that the recorded click will only be valid on the day of creation as the date position will be different each time.

Rather than re-recording this each time I want to set this field to 'sysdate' on playback. I have looked at variables but cannot seem to work out how this might be acheived?

Any advice would be appreciated.

Regards
Chris

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: setting date field to sysdate

Post by Support Team » Mon Mar 26, 2012 11:53 am

Hi,
Chris Wright wrote:Rather than re-recording this each time I want to set this field to 'sysdate' on playback. I have looked at variables but cannot seem to work out how this might be acheived?
Would it be possible to post us a Ranorex Snapshot of this control? Then we could analyze your control and provide you the specific code you need.

You could also take a look to following post http://www.ranorex.com/forum/select-ite ... html#p5251

Regards,
Peter
Ranorex Team