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
Can we create user defined functions in qtp?
How to test background color and dynamic images during run time can you put the check point for moving objects?
How many types of parameters are available in quicktest professional (qtp)?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is Unicode Compatibility?
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
What are the different attribute used with regular expression?
What are the advantages of parameterization ?
i have a doubt can anyone tell me where are scripts stored while using QTP.Tell me the exact procedure takes place in real time?like how we call scripts how to proceed after writing scripts?how scripts are executed etc?i heard some use Qc whether others dont use.so tell me whole procedure for both the things it will be a very big help.as i have interview i want to have whole idea on this.its very urgent.
How to find a window is minimized or not
explain how to write vb script in qtp?when will you write own script?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
What is the difference between a Function and Procedure in QTP?
what type of framework u r using in ur organization