how can we perform web datatable operations on webpages(Like
rowcount,col count,cell data)?
Answer Posted / 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 |
Post New Answer View All Answers
what is description object?
What is the difference in the global and action sheet in qtp?
Suggest and Define a solution for an application whose objects are not recognized by UFT?
Excel sheet having some datas and some datas present in the application (in table). How will you compare these two datas? Write code to fetch datas from Excel sheet.
How to create runtime property for an object?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
what type of automation is follwed in the project?
What are the major/ important methods, functions in QTP we use realtime testing
How u will do versioning in QTP?
What is Cross browser testing? Does UFT support it?
Can anybody post some real time scenario in qtp? please its very urgent.
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
Explain the checkpoint in qtp?
How will you declare a variable in qtp?
What are the benefits of quick test pro(qtp)?