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 |
What is parameter in qtp?
IF application is a Java-based application means 2 0r 3 tier application. How the script will be in QTP. pls kindly give some sample script.
How to create runtime property for an object?
In website, protocol has been changed http:to https what you will do? tell me your approach?
Could any one suggest web site links to learning VB Script for QTP purpose??
In qtp, explain what is keyword driven automation framework?
When to use shared and local object repository?
Have you faced any problems with object repository?
1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?
suppose we recording a web based project so for that we are using internet explorer after that if we execute that script in netscape then script will execute or not and one more thing is to exeute the script in any browser what to do
how to read log file using QTP??
can the activities of test case design be automated?