how do find current links in webpage for ex: in
yahoowebsite today mainpage is having 50 links and next day
same page is having 60 links. if i run same programe it
should display total links in webpage ?

Answer Posted / bkiranratna

Set oDesc = Description.Create()

oDesc("micclass").Value = "WebList"

Set Lists = Browser("Mercury Interactive").Page("Mercury
Interactive").ChildObjects(oDesc)

NumberOfLists = Lists.Count()

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Mention what are the different types of recording modes in qtp? Which will be used when?

555


Explain about the quicktest professional (qtp) automation object model?

558


Does QTP run in any environment?

604


How many types of parameters are available in quicktest professional?

514


How many types of parameters are there?

537






Which functionalities of QTP used in banking project? pls any say answer?

1435


How to creating an output value using quicktest professional (qtp)?

560


How can I check if a environment variable exist or not?

534


What is synchronization point in QTP?

668


Hi Friends, Would be great if you can provide the Model Question paper, Web site link or any reference s. Thanks & Regards, Byzoor,

1338


What is the Difference between copy to action and call to action?

574


Explain the terms test and business component?

542


How to remove associated function library?

552


What is Unicode Compatibility?

1445


if numbers are always changing write a script for that

3375