I know that my question is basic but I just started using the QTP. I made a script for the Flight application consisting of three actions (Login, Reservation, and Quit). I want to submit 90 rezervations. I put the parameters in an xml file and i want to run the script with the parameters from that file(I don't want to import the sheet to the Data Table).
When the script gets to the date and the name parts it just jumps over them.
The date is WinObject.
The code is:
'Window("Flight Reservation").WinObject("Date of Flight:").SetTOProperty text, FlightDate
'Window("Flight Reservation").WinObject("Date of Flight:").Type FlightDate
Window("regexpwndtitle:=Flight Reservation").WinObject("regexpwndclass:=MSMaskWnd Class").Type FlightDate.
Am incercat si varianta cu add-inul de Active X si tot nu a mers.
Re: Problem uploading date & name from xml to flig
I don't know why the date is recognized as WinObjet. Before I started the script I added the objects one by one. I didn't use the record option of the QTP. The only add-in active was VB. But I have written the entire script again also with Active X add-in and it still doesn't work.
In the xml I formated the column as mm/dd/yy and also as General and text.