Results 1 to 2 of 2

Thread: Descriptive Programming

  1. #1
    Junior Member
    Join Date
    Oct 2007
    Answers
    27

    Descriptive Programming

    Hi Everbody!!!!!!

    I tried to write some script in QTP without Object respository

    i completed all the process in the sample application..

    for example the coding for login screen


    Systemutil.Run "C:\Program Files\Mercury Interactive\QuickTest Professional\samples\flight\app\flight4a.exe","","C:\ProgramFiles\Mercury Interactive\QuickTest Professional\samples\flight\app\","open"
    dialog ("text:=Login").Winedit ("Attached text:=Agent Name:").Set "Ramya"
    dialog("text:=Login").Winedit ("Attached text:=Password:").SetSecure "47f47caa00ce9411dbda9eedd2d3a76bab04bcf9"
    dialog("text:=login").Winbutton ("text:=ok").Click


    Likewise i completed for open order, insert order and everything

    But now i dont know how to close the flight reservation window

    Please somebody help me...........


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    Re: Descriptive Programming

    Window("name:= Flight Application").Close

    regards,
    Nawab


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact