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

How can we do this one ? at runtime qtpwindow and browser aren't disply on monitor (or) aren't visible on desktop?how?

1 Answers  


how to know no.of mails in our g mail by using vb-script

0 Answers   HP, Thinking Hats,


What is the another extension name of library file. If that is exist than what's the difference between them.

2 Answers   Synechron,


Kindly help me with the following queries.. -- How to recognize webtable using QTP and how to use it? -- How would one conclude that it is a web table -- For Example, if there is a web table and I am clicking on say Cell A1, how would i know that i've clicked on cell A1 -- Kindly suggest me to use the web table better

1 Answers  


How Does Run time data (Parameterization) is handled in QTP?

2 Answers   Crea,






Scripts for Ascending order in qtp.

3 Answers  


Limitations in QTP?

0 Answers   CIL,


how do you find the number of occurences of string QTP from the expression , " QTP+QTP=2QTP"

5 Answers   IBM,


For which type of project the iterative model is suitable?

0 Answers  


suppose im having a string wipro123xyz i need to get the value 123 only from the string today 123 will be in the middle from tommorow it will be changing to front or back how to get the no if it changes continously?

2 Answers   Wipro,


What is the difference between Image Checkpoint and Bitmap Checkpoint?

8 Answers  


1)what is the Exact Meaning of Environment Variables? 2)what is Compile Module in QTP? what exactly it contains Functions or Actions?

4 Answers  


Categories