![]() |
Need Help Datatable Parameterzing Date - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Need Help Datatable Parameterzing Date (/Thread-Need-Help-Datatable-Parameterzing-Date) |
Need Help Datatable Parameterzing Date - debindas - 08-26-2012 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. RE: Need Help Datatable Parameterzing Date - QTPScript - 08-30-2012 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. |