Quantcast
Channel: All Quality Center / ALM Practitioners Forum posts
Viewing all articles
Browse latest Browse all 14708

Re: QTP v10 : TeScreen.ChildObjects returns 0 objects

$
0
0

Hi,

 

I tried the  following code in QTP 10, but it doesnot work. Count is still returning zero.

 

Dim oDesc,arrLinkObjects

 

set oDesc=Description.Create

 

oDesc("Class Name").Value="Link"
oDesc("Class Name").RegularExpression = false

 

Set arrLinkObjects=Browser("Class Name:=Browser").Page("Class Name:=Page").ChildObjects(oDesc)

 

msgbox arrLinkObjects.Count

 

Note: I am using IE9. Even when I use the recorded browser and page objects, the count always returns zero.

 

Could you please help me ?

 

Thanks,

Mansi


Viewing all articles
Browse latest Browse all 14708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>