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 to get Links count in an web application,without
descriptive programming?

Answer Posted / a

POSTED BY -CHAITU
This Script is Helpfull to count the No.of links in a web
page

Step1: Set Objects = Browser("BrowserName").Page
("PageName").ChildObjects

Step2: Objectcount = Objects.count
Linkcount = 0
Step3: For i = 1 to Objectcount-1

Link = Objects(i).GetROProperty("micclass")
If Link = "Link" Then
Linkcount = Linkcount+1
msgbox Linkcount
End If
Next
msgbox Linkcount ' It show total number links
--------------
This code is not working.

Check it out.
Link = Objec(i).GetROProperty("micclass")
Error is here.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is throw object?

2293


What is the use of ordinal identifier in qtp?

966


How we can use the database checkpoint on a java web based application in which the database connectivity is done using JDBC->Pure Java type (in this type there is no need to create a DSN). At present in QTP we can fetch database values using checkpoint only through DSN. Is there any programming for this if we don't have DSN (ODBC)

2421


Explain qtp(quick test professional)?

987


What is qtpro? What is a quick test professional?

1012


what is review

2107


How to use parameterization in qtp?

1031


Explain advantages and disadvantages of ddf?

1018


Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.

3466


Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?

2058


How many types of object repository in qtp?

1054


Does quicktest professional is unicode compatible?

900


What is data driver in qtp? Where we use it?

970


How to get Traceability matrix from TD?

1154


What is action split and the purpose of using this in qtp?

981