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 API

2 Answers   Satyam,


What are the types of object repositories? Which one is you using?

0 Answers  


Describe the differences between functions and actions in UFT?

0 Answers  


What is the difference between Systemutil.run and Navigate.

6 Answers   Synechron,


Which property do you use to retrieve or assign data into a cell in a Data Table object?

1 Answers  


Why do we use breakpoints in QTP?

0 Answers  


Any one please tell me how to create framework in QTP (in detail). Is there any website for reference?

1 Answers  


In qtp, how you can get the last character from a string?

0 Answers  


Sometimes my QTP scripts works fine and sometimes its not though I am using same shared Repository and am not doing any changes in it.Even though for descriptive programming also its works fine and sometimes it does not work.my application is pretty stable.Could anyone please answer why am facing these types of issue??

1 Answers  


How do you perform Regreession Testing?

0 Answers   Nokia,


what is the Debug view?

1 Answers  


Where should we turn Smart Identification ON in QTP?

5 Answers  


Categories