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...


A web Page has a webtable with four columns and four rows.
The first column is of ID and has values of 100,100A,A100,100y
Find out the number of rows whose ID starts with 100.

Similarly the last column is 'number of links'. Each row in
the last column has values like link1,link2,link3 etc
Find out the number of links where id is 100



A web Page has a webtable with four columns and four rows. The first column is of ID and has value..

Answer / sagar jadhav

set objWT = Browser("micclass:=Browser").Page
("micclass:=Page").Webtable("html id:=xxxx")

rowCount = objWT.Rowcount
Dim Pass
For i = 2 to objWT 'As row#1 is always a column
num = objWT.GetCellData(i,1)
numCheck = mid(num,1,3)
If strComp(numCheck, "100", 1) = 0 Then
Pass = Pass + 1
End If
Next

msgbox "Number of expected Rows:" &Pass

Is This Answer Correct ?    5 Yes 2 No

Post New Answer

More QTP Interview Questions

What are metrics and matrix?

0 Answers  


How u prepare Test result summary in QTp?

4 Answers   CGI,


Q) Please any body can help me how we can create descriptive programming if the application is not ready i.e we don't have unique property of object ? note:build not ready means we can't use object spy in build to get unique property .

2 Answers  


How to change the run-time value of a property for an object?

3 Answers   Crea,


Syntax for how to call one script from another? and Syntax to call one "Action" in another?

3 Answers  


What is the Diff between Image check-point and Bit map Check point?

3 Answers   Ordain Solutions,


please tellme ordernal identifiers in QTP?

2 Answers  


tell me QTP standards ?plz

0 Answers   Kanbay,


What are the different ways to invoke an application using QTP?

0 Answers  


How u will open the build automatically in QTP except using Systemutil.run command

6 Answers  


How many ways we can parameterize data in QTP?

1 Answers   Crea,


I register user defined function in one test, I tried to call that function into other test. But that function not works in other test please give the direction for that.

1 Answers  


Categories