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
What is the difference in testing a client-server application and a web application?
How software tester can use constants and variables in scripts?
What is Curd testing?
Explain more about the Test Fusion Report of QTP?
How you know that a test case is a regression test case
How can you identify the browser and its information using QTP script?
what is error and fault in terms of software quality?
How many types of recording modes in qtp? Which will be used when?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
Explain features of the latest version of qtp/ uft 12.1?
Hoe can we do retesting using functions please give the code for it using login page
What is the purpose of loading qtp add-ins?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
I have qtp 9.5 demo ver,I am not able to record the yahoo broeser.so anyone can tell me what setting i have to do in QTP for yahoo brower recording. why its not recognise the object of yahoo browser????
how will you check how many members visited the website www.infosys.com?