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
Why qtp the best testing tool?
Limitations in QTP?
Generic function to search for the unique link in webtable and click on it
What is object repository in qtp?
Explain the concept of object repository and how QTP recognizes objects?
What are the ways you can synchronize?
Is it possible to switch between recording modes during a test creation?
How does QTP identify an object?
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
Explain building blocks of the bpt framework ?
how will you check how many members visited the website www.infosys.com?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
Explain types of descriptive programming?
Dis advantages of XML checkpoint ?
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