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 |
suppose i have one datatable in my datatable in 2 nd row 3rd column one link is ther i need to validate that link how do u do this?(wipro)
What is the main differece between QTP 9.0 and 9.2
What criteria do you use when determining when to automate a test or leave it manual?
in order to start automation testing what we should require (entry level to automation testing)
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
Name the properties you would use for identifying a browser and page when using descriptive programming?
Explain how you can find the absolute value of the number in qtp?
How to add object to object repository in qtp9.0 Suppose for brower yahoo home page
how can i pass a "cript"as a parameter in to a function
What are the advantages of qtp?
How to load object properties to object repository through scripting.give one example
how you have used object libraries? plzzzzz do answer