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 difference betweem class annd object?
Suppose i have given 10 test cases all the test cases should be automated?
what is the advantages and disadvantages of using functions instead of re usable actions
desribe a situation where u faced a stressful situation and how did u cope with it
Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?
Hi All,I am in wierd situation that my laptop is installed with QTP11 and os is xp sp3.The problem is the descriptive programming which i have written is working in other laptops and it is not working in my laptop.it is clicking the link which is above the testbox instead of typing it in textbox below it.It is same with the other working scripts written by another person.
How to capture data from images in QTP and produce them in Excel sheet ?
images are dynamically changes how to compare two images
Is it possible to return multiple values from a function..? Then how..?
Why use Regular Expressions?
Hi All, I am a beginner in QTP and have understood the basics of QTP by going through tutorial. I am trying to Automate a HRMIS application, What is the right approach to Automate this application. Kindly answer. Thanks in advance
What is difference between Class and MicClass