GeekInterview.com
Series: Subject:
Question: 185 of 737

QTP - Conditional links count

Hi,

I am new for QTP.

I have so many links in my page. but i want to count particular links among them.
But all links properties are same.
so now i have to add the new property for that group of links and count that.
i added the new property for that links
but i got general error

i add new property for the link in object repository and the object identification
name is val
Value is L

I write the code
Set descrip = description.Create()
descrip("html tag").value = "A"
descrip("val").value = "L"
Set v = Browser("B").Page("P").ChildObjects(descrip)
N=v.count
msgbox N

Plz help me to find out the group of link counts from my web page.
Asked by: Punitha.R | Member Since Oct-2007 | Asked on: Oct 31st, 2007

View all questions by Punitha.R   View all answers by Punitha.R

This Question is not yet answered!

Related Open Questions

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.