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


Messages In This Thread
Dp for flight reservation form - by rajaselvan.d - 01-24-2008, 11:30 AM
RE: Dp for flight reservation form - by dsharma - 01-25-2008, 11:09 AM
RE: Dp for flight reservation form - by dsharma - 01-29-2008, 01:54 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Clicking command button in accesss form mark_cielos24@yahoo.com 1 3,190 05-07-2013, 10:52 PM
Last Post: agarwl.anurag
  How to write In PDF Form using QTP anukapoor 3 5,379 04-05-2012, 06:00 PM
Last Post: atulparate
  QTP cannot recognize a web form inside SAP QTP_Gaspar 2 4,217 01-13-2012, 12:19 AM
Last Post: QTP_Gaspar
  Need a Help with identify child form VB6 programm shan1234 6 4,431 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,367 06-08-2011, 08:07 AM
Last Post: TestNG

Forum Jump:


Users browsing this thread: 2 Guest(s)