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,654 05-04-2018, 08:56 PM
Last Post: Ankur
  Datatable add and datatable import sheet wheelercha 4 33,634 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 4,048 05-28-2012, 09:29 PM
Last Post: defcon3
  Date Format change mv8167 9 50,110 03-05-2012, 08:54 PM
Last Post: SteveS
  Returned Date Format mv8167 3 5,994 07-06-2011, 09:25 AM
Last Post: rajpes

Forum Jump:


Users browsing this thread: 2 Guest(s)