how can we perform web datatable operations on webpages(Like
rowcount,col count,cell data)?
Answers were Sorted based on User's Feedback
Answer / deepika
n=Browser("BName").Page("PName").WebTable("TName").RowCount
print n
This will display the number of rows in a web table
m=Browser("BName").Page("PName").WebTable.ColumnCount
(Rownumber)
print m
This will displap the number of Columns for that particular
Row
a=Browser("BName").Page("PName").WebTable
("TName").GetCellData(Rownumber,ColNumber)
print a
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / 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 |
Hi All. Can you please explaing what is checkpoint? How it Will Work? what is meaning of "check checkpoint ("proprtname").how it will compate with expected value? Thanks in Advance............... Lakshmi
how to merge object repositories?
Suppose if a functionalityis not mensioned in requirement document and but its present in application. will it be consider as a bug and viceversa?
What is meant by virtual obj and Y do v need virtual obj configuration.
how i will connect oracle or microsoft acess database through manually written Script
I have 3 add buttons of same properties in my page but i want trigger one of them i required in my recovery scnario manager is qtp recognizes it to recovre d scnario if so how qtp recognizes it
Hi I able to record IE object but not able to record mozilla firefox 3 object using QTP 10. i don know wats the problem????
write a function to read the items from Combobox of Flight Reservation application and save in excel.
Hello Everybody, please tell me how to use accessibility checkpoint and XML checkpoint by giving any practical example of it.please provide me the steps to perform that and also pls provide the code too. Thanks in advance, Gaytri
Hey friends i m facing a problem when i m running my script in qtp it waits for about 5-10 secs before starting execution why it is so can any one solve my problem .Previously it was running fine
Can any body tell me what is the method to connect the remote desk top throw QTP 9.2 version?
HI. AnyBody can explain Automation Testing Framework...Generally wht do we Intiate before going to start Automation testing process... Anybody can explain.......Thanks in advacne...