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...

I am in need of some set of QTP FAQ @ interview.
Also recently in one of interview portal they asked me how
you write the script for Login application which it is web
-based and using Descriptive Programming? Without
associating the shared object repository?Please i do need
this answer very soon? Please respond me soon @
vaisu72@yahoo.com

Answer Posted / dileep kumar

By using Descriptive we can write the test script for web based Login application.
Script: for QTP sample application:
Dialog("text:=Login").winedit("attached text:= Agentname").set"abcdef"

Dialog("text:=Login").winedit("attached text:= password").set"mercury"

Dialog("text:=Login").winbutton("text:= OK"),click
****************************************************
Like this by adding the unique properties and values of the object we can write descriptive program.

Note: >>>Some times the object needs more than one property to identify.
>>>> Better to use Object Spy to get the object properties and vales...

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is debugging? How you debug your script?

1130


Can U Explain about QTP tool from older version to latest version also its differences?

1943


Can the user toggle between using Local OR and shared OR for the same action?

921


what is error and fault in terms of software quality?

1925


Explain advantages and disadvantages kdf?

913


How to find a window is minimized or not

1832


What are the different types of functions available in qtp and explain ?

970


Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.

1962


How to do the scripting. Are there any inbuilt functions in QTP? What is the difference between them? How to handle script issues?

1086


How to recognise the webelement and verifying that webelement is enabled?

2136


Both static and dynamic arrays are handled by the vb script. Is it true?

992


How to associate shared object repository to test in qtp?

949


What is accessibility check point?

1040


What is the default object synchronization timeout in qtp?

1173


Explain different types of checkpoints?

973