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?

Answers were Sorted based on User's Feedback



I need to know how to Automate a Username and Password for a Web-based product? I'm scripting..

Answer / nani

Hi,

By creating functions you can solve this one.

just create function for login. and u can use this function
where ever you want.


Nani

Is This Answer Correct ?    1 Yes 0 No

I need to know how to Automate a Username and Password for a Web-based product? I'm scripting..

Answer / 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

I need to know how to Automate a Username and Password for a Web-based product? I'm scripting..

Answer / sbbceo

OK this is great so how do I have each script Call this
action after I've created it? Also if I run several scripts
in Small batches can I make each one in the Batch Call this
action? Does this Reuseable action need to be call in a
certain place within each script or does that matter?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

Can u explain about QTP framework

10 Answers   ACS,


Can you tell me the differences between writing the VB script manually for a application and recording the same application in QTP , with a example?

1 Answers  


How to record right click of a context menu and click on the selection ?

3 Answers  


write a script to close all open browser in qtp except one browser whose name is xyz

6 Answers   Cap Gemini,


Hi All, I'm Akshaya here, could anybody please help me regarding how to import the excel sheet to run time datatable. But Pl. keep it in your knowledge is that excel sheet is opened. Thanks, Akshaya Madali 9823213538

4 Answers  


what is mean by soi in object identification

1 Answers  


Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?

0 Answers  


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

0 Answers  


Deal All, Recently i face one interview question in one company. str="test12@#3456" In This i want to print like special character and numeric ,word in one script please tell me how to write the code for this Thanks Balaji

1 Answers  


How to handle Run-time errors?

2 Answers  


How many types of recording modes are there?

0 Answers  


Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful

3 Answers  


Categories