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?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
How to give a call to another action from one action?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
What is the file extension of the code file in qtp?
Write a script to verify font style and color of a windows object using descriptive programming
explain how to write vb script in qtp?when will you write own script?
how to write xml output check point bu useing descriptive programing .means without useing output check point
What is Port testing. Whhen will you perform?
How is a Step generator used in UFT?
How to creating an output value using quicktest professional (qtp)?
Key word driven framework
How will you find the current time of the remote machine using QTP script?
Is there any pdf or online book for QTP Scripting? Let me know more about QTP Scripting.
What is an expert view and keyword view?