Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In Descriptive programing if i use this below code will it
work for login window or flight Res Window. Shud i add the
properties like attached text=login and text=Agent Name in
the object repository and define a new object first. Pls
tell me the procedure in clear inorder to execute this
script.
Dialog("title:=Login").WinEdit("attached text:=Agent
Name:").set"agent123"
Dialog("title:=Login").WinEdit("attached
text:=Password:").set"mercury"
Dialog("attached text:=Login").winbutton("text:=OK").click

Answers were Sorted based on User's Feedback



In Descriptive programing if i use this below code will it work for login window or flight Res Win..

Answer / sagar

We can do the Dialog("text:= login").WinEdit("attached text:= Agent Name:").set "user name"

Do the rest

We can use Dialog("text:= login")
Ok

Is This Answer Correct ?    2 Yes 0 No

In Descriptive programing if i use this below code will it work for login window or flight Res Win..

Answer / praveen

Please try with the below answer

dialog("Login").Activate
Dialog("title:=Login").WinEdit("attached text:=Agent
Name:").set"agent123"
Dialog("title:=Login").WinEdit("attached
text:=Password:").set"mercury"
Dialog("title:=Login").winbutton
("text:=OK","regexpwndtitle:=OK").click

u dont have attached text property for Dialog in flight
reservation.

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is the use of virtual objects?

1 Answers  


Discuss quicktest professional environment?

0 Answers  


How to analyzing test results using quicktest professional (qtp)?

0 Answers  


why we use check points , In qtp we use the any check points , what r they , when and why

1 Answers   Polaris,


What is Cross browser testing? Does UFT support it?

0 Answers  


give the code to count child objects (Total) in the page

1 Answers  


What is iteration?

1 Answers  


what r the main attributes of test automation?

0 Answers  


What is the descriptive programming?

0 Answers  


What is the architecture of your project? Can any one answer for this question plz........

0 Answers  


how do u get lib files into scripting files?

4 Answers  


Inserting a Call to Action is not importing all columns in Datatable of globalsheet. Why?

1 Answers   Crea,


Categories