how can we perform web datatable operations on webpages(Like
rowcount,col count,cell data)?
Answer Posted / ram.polavarapu
r=browser("").page("").webtable("").RowCount
print r
'this will display the number of rows in webtable
c=browser("").page("").webtable("").ColumnCount
print c
'this will print the number of column in webtable
for i=1 to r
for j-1 to c
a=browser("").page("").webtable("").GetCellData(i,j)
print a
this will display the all data in the web table
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is the syntax to call one action in another?
Define Environment Variable in UFT and its uses?
Explain different checkpoints in qtp.
how u will evaluate the tool for test automation?
write script for bitmap image?
How to analyzing test results using quicktest professional?
What is the differences between image check point and bit map check point?
Output values? i want a practical example
How do I lauch my test website using code from qtp in different environmet, uat and PPTE?
descriptive program for a yahoo mail that is in yahoo mail suppose check box mailid subject assume it is like this format all things are in webtable the question is suppose some mail ids are there in that mailids i want to select the check box wich is before a@gmail.com and after that i want to click on delete button
How can you write the scripts that operate on different objects depending on run-time information?
I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...
How many scripts did you have?
What are the different ways to invoke an application using QTP?
How to export quicktest professional results to an .xls file?