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 are class variables?

1045


What is loose binding? Why is it not a good practice to use it?

1113


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1928


How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.

2983


What is the difference between for loop and while loop?

1080


What is the event handling in vbscript?

989


How to access array data?

1014


Compare java script and vb script?

1095


How can you create a file object to work with the files in the vbscript language?

959


What is the use of option explicit statement?

992


Explain about .wsf files?

1156


Mention how to access array data?

1014


How will you get a combined string from array of string in vbscript?

966


Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.

2094


Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)

1865