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 need to know how to Automate a Username and Password for
a Web-based product? I'm scripting 3 different types of
surveys but each Survey requires a Username and Password
which is always the same. I can I do this using QTP?

Answer Posted / baba fakruddin

go for Functions or Actions to reuse where ever u want.

eg. ObjectHierarchy.winedit("User Name").Set "Fakruddin"
ObjectHierarchy.Winedit("Password").Setsecure "97841234"
ObjectHierarchy.Winbutton("Login").Click

Save this in one Action as Reusable action and use where
ever u want. OR

Save this in Notepad and save with .vbs extension then go
for resources tab and add by showing particular path of
that function

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why qtp the best testing tool?

964


Limitations in QTP?

2113


Generic function to search for the unique link in webtable and click on it

3033


What is object repository in qtp?

981


Explain the concept of object repository and how QTP recognizes objects?

989


What are the ways you can synchronize?

1012


Is it possible to switch between recording modes during a test creation?

1006


How does QTP identify an object?

990


I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that

1814


Explain building blocks of the bpt framework ?

1019


how will you check how many members visited the website www.infosys.com?

1878


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2715


Explain types of descriptive programming?

997


Dis advantages of XML checkpoint ?

1979


hi i am working with vbwindow on qtp.first i am openning qtp whenever open qtp my application not open that time generated error like "Runtime error 0" and fatal error:automation error how to solve this problem pls tell me

2326