Result from DateTimeUtils-Today needs to be fed into a web page DateTimePicker box
Hi,
I need to be able to populate a DateTimePicker on a webpage, which when clicked on, expands the calender view for the user to select a date they require. In my automation this DateTimePicker on the webpage needs to automatically select the current date using DateTimeUtils (Today property).
Please could someone provide some support as to how I would go about doing this succesfully.
Many thanks,
Ollie
***Updated by moderator: Marissa to update categories***
Hey Ollie,
My first suggestion would be just to simply interrogate the controls to emulate the selection of the current date. However, I assume that this has already been attempted. One thing that I have done while working with DateTimePickers on websites is by instead modifying their HTML values either through JavaScript or their control object. This seems to do the trick but will require a little investigation on your end for determining the necessary properties that need to be adjusted. ( IE developers tools will help with this )