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 |
How many ways we can parameterize data in QTP?
How to record object in runtime. I am testing one Image website in which every time image change on home page.so if i records the image list but during running image get change, and QTP gives error
What is Terminal Emulators”? Why we used in QTP.? How he works on QTP.
OPening of notedpad in QTP to write and execute the coding?
Can anybody help me by sharing the code for checkbox in qtp using vbscript.
How to capture the tooltip of webelement,if there are two values displayed in tooltip of webelement?
How to handle the exceptions using recovery secnario manager in quicktest professional?
QTP 9.2, Issue: Creating Shared Object repository. I recorded 2 scripts. I exported the Object Repository to a shared location for the first script. Associated the exported repository to the first script and deleted the Local Repository for the First Script. Now Opened the Second script and try to Add the Local Object Repository of 2nd Script to Exported Object Repository. But I fail. Can anyone please help in providing steps that need to be followed in creating a shared object repository? Thanks in Advance.
Please guide me release notes of Automation once scripts are completed
How do u connect database through QTP tell me both Ms Access and SQL
how to retrive that the number of spaces are in a string ????
Can I import a excel sheet in Action1 datatable? How?