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
How to use the object spy in quicktest professional (qtp) 8.0 version?
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?
can the activities of test case design be automated?
Explain xml checkpoints.
Hi, Can we open a test in qtp10 which is saved in qtp 9.2?
How to replay a script in qtp?
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Anybody plz give, How do you test aframe in a web page? If page cotain text message or Images, tables?
Hi. I have completed B.TECH(CS) , But I will go to "SECURITY CONSOLE OPERATING" [C.C CAMERA abservation]. IF interviwer asks " Why you choose this job ?" What we will say? urgent.........................urgent...........
Should have experience in framework means?
What is a reusable action?
What is throw object?
What are the ordinal identifiers in web page?
How do client side image and server side image work?
What is clean sweep?