Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we perform web datatable operations on webpages(Like
rowcount,col count,cell data)?

Answers were Sorted based on User's Feedback



how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?..

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

how can we perform web datatable operations on webpages(Like rowcount,col count,cell data)?..

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

Post New Answer

More QTP Interview Questions

What is parameter in qtp?

0 Answers  


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.

5 Answers   Wipro,


How to create runtime property for an object?

0 Answers  


In website, protocol has been changed http:to https what you will do? tell me your approach?

1 Answers  


Could any one suggest web site links to learning VB Script for QTP purpose??

3 Answers  


In qtp, explain what is keyword driven automation framework?

0 Answers  


When to use shared and local object repository?

0 Answers  


Have you faced any problems with object repository?

0 Answers  


1>why parameterization is necessary in qtp? 2>if we give constant value then what problem?

5 Answers   Wipro,


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

2 Answers   DigiTech,


how to read log file using QTP??

3 Answers   AppLabs,


can the activities of test case design be automated?

0 Answers  


Categories