how can i parameterize a login page by using database
parameterization i fetch the username and password from
database and put this on login page and click on ok button.
so how can we write script for that code please let me know
asap
thanks
Answer Posted / shaveta
rc=datatable.GetSheet("Global").GetRowCount
For i=1 to rc
datatable.GetSheet("Global").SetCurrentRow(i)
systemutil.Run"C:Program FilesHPQuickTest Professionalsamplesflightappflight4a.exe"
With dialog("Login")
.Activate
.WinEdit("AgentName:").Set(datatable.Value("UID","Global"))
.WinEdit("Password:").Set(datatable.Value("password","Global"))
.WinButton("OK").Click
End With
window("Flight Reservation").Close
Next
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
How QA specialist can identify when programmatic descriptions are useful?
In qtp, how you can use xpath to identify objects?
Define Error Pane of UFT?
How many types of object repository in qtp?
Is it possible to merge two object repository files in qtp?
Where is the Bitmap checkpoint information stored?
Hi All, How to Compare two strings character by character in QTP
tell me abt a time when u had to go above &beyind the call of duty to get the job done
how to write xml output check point bu useing descriptive programing .means without useing output check point
I want to read XML file loaded in Quality center and compare the values with the values displayed in Application (web table).How can I do that
How can I use Call dlls in QTP ?
How to handle dynamic objects in quicktest professional?
What is data driver in qtp?
can test automation improve test effectiveness?