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
They asked by using qtp recording writing scripting
what type of automation is follwed in the project?
Suppose I created one object as virtual object? That object is applicable to that test? Or all the tests?
How to remove the associated function library?
How to recognise the webelement and verifying that webelement is enabled?
Can you list some technologies that support qtp?
How you can write contexts to text file in qtp?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
In Remote acess server how u run a test?
write a script for allinterview-submit Question first we've to select Choose Category,second select Sub- Category(Which is comes in to runtime)third select Question Type.for that give some descriptive and vb script
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
can any one say that where we can download the QTP trail version ??????????
how to fetch the values from grid? & qtp recogniges that grid as a webelement? what u do?
Explain about business process component? types and usage?
What are the Disadvantages of shared object repository?