Micro Focus QTP (UFT) Forums

Full Version: Need Help Datatable Parameterzing Date
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am getting some issue with the below command:
Code:
Window(“FlightReservation”).ActiveX(“DateOfFlightEdt”).Type(DataTable.Value(“Date”,”Global”))

I am trying to parameterize different dates for different passenger. but getting few issues with the data table

Suppose the month is January, any date and year (01/25/12). When I insert the same date on the datatable, it takes as “12512″. During Run, QTP takes the value as Month:12(December), date:51(Error), Year:2(Error). Please help me with the situation.
Right click on that cell and select" FORMAT CELL" and select date format from 1st tab..

Confirm once it works so other have ready solution.