Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help Datatable Parameterzing Date
#1
Not Solved
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.
Reply
#2
Not Solved
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to append date to xls file using qtp datatable methods? yona34 1 1,471 05-04-2018, 08:56 PM
Last Post: Ankur
  Datatable add and datatable import sheet wheelercha 4 33,365 06-14-2012, 04:53 PM
Last Post: Arul
  How To Select Date From a Calender Image Where Date field is non editable? RameshKrishnan 1 3,854 05-28-2012, 09:29 PM
Last Post: defcon3
  Date Format change mv8167 9 49,239 03-05-2012, 08:54 PM
Last Post: SteveS
  Returned Date Format mv8167 3 5,750 07-06-2011, 09:25 AM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 1 Guest(s)