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 |
Which Databases supports for QTP?
Is the qtp course will help to create a virtual object?
Hi Guys, I am very new to QTP tool , In real time environment how to test the application with this tool, 1. How to load application in QTP tool 2. How to write test script in QTP. 3. In manual testing we test login box (user id , password) how can we test this kind of testing with QTP tool with examples . Please guys put some focus on my questions , real time ecperienced answers would be appreciate, advance thanks ,please guys i am expecting ur answers as soon as posible
how do you configure QTP AND Test director?
setroproperty and getroproperty difference
take one exmple and write on that discriptive programe in qtp?
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
i need the licence key for QTP V9.5 can anyone help me on getting this?
How did u write macros?What is the main importance of VB macros in testing environment?
Question:how many types of repositories in QTP9.2?and explain??
I am not finding pages and links in object spy on web testing. I am only getting window and winobject. where is the problem? thanks
in QTP,how to write a descriptive program for "yahoo" or "gmail" Login page