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 |
If 2 gmail browsers are opened in our system, how to enter the mail id and password into second browser by using discriptive program?
What is the difference betweent test and component?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
what is the difference between testing and debugging?
i am trying to capture the URL from the open browser and store it. pls give me solution how we can do this in QTP. thanks
hi this is srinivasa(from blr) i complited my B.tech(e.c.e) in 2007 im searching job in s/w testing but idont have freshers resume for s/w testing please send some s/w testing resume for me(fresfers resumes only) advns thnks you
What is QTP Frame Work ,and i want it in detail
How do you connect to database ,What is the script to connect DATA BASE?
you written some code in qtp for opening google.com browser and entered some text inthe search text box and clicked search button. this is ur script.. before running this script i have already opened two google.com browsers. now am running the script what will happen? script will run or what?? Thanks... Nani
Can any body help me to write descriptive program to find a cell value (say 2 row, 3rd column) in a datatable which is creating dynamically and statically
1. How to capture data from images in QTP and produce them in Excel sheet
IN EXCEL SHEET OF qtp SUPPOSE I ENTERED 10 NUMBERS RANDOMLY I HAVE TO GET TOTAL OF TEN NUMBERS IN THE 11 COLUMN USING qtp GIVE CODE TO IT USING qtp