can i login a page by giving username and password and click
on ok button through database parameterization.and if its
yes then please write the code of that
Answers were Sorted based on User's Feedback
Answer / 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
Next
| Is This Answer Correct ? | 3 Yes | 1 No |
Answer / pravati
Rowcount=Datatable.getsheet(id).Rowcount
msgbox Rowcount
for i=1 to rowcount
Datatable.Getsheet(id).setcurrentrow(i)
username=Datatable.value(parameter id,sht id)
pwd=Datatable.value(parameter id,sht id)
Browser().page().webedit().set username
Browser().page().webedit().set pwd
Browser().page().webbutton().click
Next
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the syntax to use out of two characters. Pls anybody can give the answer.. Thanks in advance...
One build is delivered. in that build button name is submit. but in the next buit that name of the button changed as login.are u continue with previous recorded script or u make any changes?
hi nani my doubt is how does qtp process metrix related to software process.
how can we handle exceptional handling in qtp
Can I compare two DataBases using QTP ?
what is clean sweep?
In how many ways we can add check points to an application using QTP.
How to check the URL using Automation tool QTP
How do we do DOM programming in QTP.Could you explain with an example. If possible please provide some material or link related to DOM Programming.
what sort of things what u put in Bug Report ?
How to load object properties to object repository through scripting.give one example
object types is used for what?