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
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?
hou can we use vb script in qtp could u tell me breafly
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
What are the technics follow in writing VB script?
explain structured testing? plz guys with exp. do answer
What do you mean by checkpoints in qtp?
What are the different attribute used with regular expression?
Explain sub procedure of vbscript.
Discuss quicktest professional (qtp) environment?
How to connect to a database?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
how do we know whether all objects are stored in the object repository or not? how can we know if a particular object is not stored in the repository?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object..
What is the registration process and examination fees?