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

What is the difference in testing a client-server application and a web application?

1098


How software tester can use constants and variables in scripts?

2228


What is Curd testing?

2313


Explain more about the Test Fusion Report of QTP?

1026


How you know that a test case is a regression test case

3978


How can you identify the browser and its information using QTP script?

1012


what is error and fault in terms of software quality?

1901


How many types of recording modes in qtp? Which will be used when?

968


In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?

1993


Explain features of the latest version of qtp/ uft 12.1?

1052


Hoe can we do retesting using functions please give the code for it using login page

1935


What is the purpose of loading qtp add-ins?

1174


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

1698


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

2710


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

1908