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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the check points can be inserted without recording?

1079


write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script

1817


what could go wrong with test automation?

2071


i have an external excel datasheet where it only contains 3 rows. after qtp executed the code to import the datasheet, the datatable getrowcount method now gives me a different value, lets say 60,000+ instead of only 3. i did not have any values starting from row 4 of my excel file. why is this happening? this also results to the qtp report to load for a very long time.

2025


how can i sent QTP results to the Html, notefile ,xl file give me the code using g mail login page

2334


what is object and child object.. explain ..if possible give some example for better understanding ..

2009


How to use descriptive programming?

1152


Explain how you can find the absolute value of the number in qtp?

1097


How do you delete unwanted results in qtp?

1123


hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?

2030


How to find the difference between 2 dates in qtp?

1055


Explain quicktest professional (qtp) testing process?

1025


Explain process of smart Identification in QTP?

1063


What test you perform mostly? Regression or retesting in your testing process?

1030


why you have standardized functions? plzzz guys with real time exp. do answer

1860