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 defenetion of kiran can u tell me plz CVS, SVN
How to test results for qtp ?
What are the different types of checkpoints?
What is the meaning Work bench?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
In qtp, how you can get the last character from a string?
What is parameter in qtp?
what is the advantages and disadvantages of using functions instead of re usable actions
What is the syntax to call one action in another?
what is the difference between data driver & data driven and driver script?
What is use of object spy?
Key word driven framework
How to connect to a database?
Explain in brief about the quicktest professional (qtp) automation object model?
What is the Command used to start the QTP