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 display all the links in one page using vb script in qtp.

Answer Posted / sowmya

We can use the page check point to display the number of
links in a web page

or

we can create the child object

set objlink=description.create()
objlink ("micclass").value='weblink'
set odesc=browser("browser").page("browser").childobject
(objlink)

numberoflinks=objlink.count

msg numberoflinks


i think it should work.....

Is This Answer Correct ?    7 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between javascript and vbscript?

1232


Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?

1014


How can the spaces from the string be removed?

1057


I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?

1445


What are keywords in the vbscript language?

1080


wht must be the interview question on corinthian information technology solutions incorporated.

2670


Mention what is the difference between vbscript and vba?

1125


create a form to accept username and password validate the username and password with using message box, display the corresponding user message

2698


What is the use of option explicit statement?

1031


What are the differences between sub procedures and function procedures?

1035


Difference between dim,public and private variables in vb script?

1002


What are the valid scopes of a variable in vbscript?

1151


How can you destroy an object in vbscript?

1170


Explain about the extension .hta?

1127


What purpose does ‘on error resume next’ serves?

1146