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 use of Accessibility check point?
Hi guys, can anyone explain me whats the method for reporting the QTP test results to teamlead or non-QA member (developer/PM)? Thanks in Advance!!!!!
In QTP, As a first step wht we will do before going to start a Automation....when it will be decided that we have to go for a Automatio..and who will decide to go for Automation. Any body can pls let me know.. Thanks in Advance..
what is main diff of qtp8.2 and qtp9.0?
It seems Interview questions from Ordain Solutions are almost BASIC LEVEL-Easy. I am asking one tough question..(I think.. May be easy for some people) In recorded script the - WebLink("cityinfo") In reality, the WebLink name is "generalinfo" How you can write function to click that changed web link. NOTE: This functin should work with any Dynamic text link. I will post the answer later.
How to use the Object spy in QTP 8.0 version?
w is output value
What are the technics follow in writing VB script?
How to execute the test cases using QTP. i.e What is the use of QTP while execution
Which environments does qtp support?
How is GC reddy online program Will i get placed How are the placements.
what is regular expression how will you implement it?