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 |
Can u explain about QTP framework
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?
How to record right click of a context menu and click on the selection ?
write a script to close all open browser in qtp except one browser whose name is xyz
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
what is mean by soi in object identification
Will QTP Support Visual Foxpro Applications? If yes please tell me whether I need to install any additional addins for that?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
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
How to handle Run-time errors?
How many types of recording modes are there?
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