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
why should we give deliver good quality software?
How you can decide which type of object repository you have to use?
tell me exact differenceb bw qtp and selenium?(could not tell open soure and licennce? difference in usage and technical difference?
what is the difference between the modular framework and datadriven frame work
Plz Explain AUTOMATION REFERENCE MODEL?
what is the diffrence bw qtp architectute and qtp framework?
which type of testing process are you following in ur company? how to recognize a qtp page?
While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?
What is the difference between byref and byval in qtp?
Explain about the test fusion report of quicktest professional (qtp)?
how will load the object during runtime?
Why script error occur in between recording in qtp?
In qtp, how you can exit for loop?
Explain different types of action in qtp?
What is the difference between run time object and test object in QTP?