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
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
What are the different types of recording modes in qtp? Which will be used when?
What is CMMP and CMMH?
images are dynamically changes how to compare two images with out using the bitmap
Define Environment Variable in UFT and its uses?
What is throw Object?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What is QTP and the use of QTP in TD?
I want to know what are QTP functons and what are VB script functions. What is the difference between them.When we have to use these functions.
How to recognise the webelement and verifying that webelement is enabled?
explain keyword driven framework with banking domain?
Is QTP supports Unix. If yes, then how the test automation is done?
Explain features of the latest version of qtp/ uft 12.1?
What is the parameterization?
How many types of recording facility are available in quicktest professional?