Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dp for flight reservation form
#1
Not Solved
I have write the DP(Descriptive programming) for flight reservation application. but when execute thatscript is not properly executed. I have give the script anybody know what is the problem in the script. please tell me.

Code:
SystemUtil.Run("D:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe")
Set Login_Obj = Description.Create()
Login_Obj ("name").Value = "Login"
Login_Obj ("micclass").Value = "Dialog"

Set Uname_obj = Description.Create()
Uname_obj ("name").value = "Agent Name"
Uname_obj ("micclass").Value = "WinEdit"


Set Pword_obj = Description.Create()
Pword_obj ("name").Value = "Password"
Pword_obj ("micclass").Value = "WinEdit"

Set Ok_obj = Description.Create()
Ok_obj("name").value = "OK"
Ok_obj("micclass").value = "WinButton"

Dialog(Login_Obj).Activate
Dialog(Login_Obj).WinEdit (Uname_obj).set "XXXX"
Dialog(Login_Obj).WinEdit(Pword_obj).SetSecure "47981b787a3715240619acb40bee41b2d593b6b4"
Dialog(Login_obj).WinButton(Ok_obj).Click
Reply
#2
Not Solved
Can u pls elaborate the kind of error u r facing
Reply
#3
Not Solved
Hi
I have attach the word doc pls find it.


Attached Files
.zip   Flight.zip (Size: 66.21 KB / Downloads: 149)
Reply
#4
Not Solved
I saw that you have used the property name for Login but that property does not exist for this.
Try using some other property.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Clicking command button in accesss form mark_cielos24@yahoo.com 1 3,356 05-07-2013, 10:52 PM
Last Post: agarwl.anurag
  How to write In PDF Form using QTP anukapoor 3 5,530 04-05-2012, 06:00 PM
Last Post: atulparate
  QTP cannot recognize a web form inside SAP QTP_Gaspar 2 4,325 01-13-2012, 12:19 AM
Last Post: QTP_Gaspar
  Need a Help with identify child form VB6 programm shan1234 6 4,673 08-12-2011, 11:08 AM
Last Post: gbrahma.sagar
  How can I check Roproperty of a specific object type from a form? TestNG 0 2,470 06-08-2011, 08:07 AM
Last Post: TestNG

Forum Jump:


Users browsing this thread: 1 Guest(s)