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
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 |
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 |
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 |
Difference between action & Reusable action?
Differenece betwen Project and product ? when company need project or product?
How to connect to oracle(sqlserver) database to QTP
How to save your test using quicktest professional?
Hi all can any one give me roles and responsibilities for QTP (not WINRUNNER)
0 Answers Autodesk, EDS, Wipro,
How to delete an object from the object repository?
In real time whenever we found bug , after that where you send to that bug. send to T.Lead or Directly Developer. Plz explain me?
What is API
What is the difference between systemUtil and invoke method..?
What is Maximum synchronization time out in QTP(By Default is 20sec). Anybody can answer it. Thanks in advance.
How do you convert manual test cases to automated test cases?
can i able to connect any version of qtp to any version qc