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
Without integrating QC/Testdirector with QTP, is it possible to keep track of the defects?If yes how? How to export QTP results to an excel sheet?
How can we conduct U-I Testing by using QTP??????
What is difference between Recording time object identification and Run time (Execution) time.
Explain the Different types of QTP test assets and their extensions?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
Can U Explain about QTP tool from older version to latest version also its differences?
How can I import environment from a file on disk?
Explain how you can replace string in qtp?
What are the views available in quicktest professional (qtp)?
Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.
How you calling actions in qtp?
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
How to build scripts that access data from external sources?
how to download mercury qtp9.2 ny internet ?
How many types of object repository in qtp?