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...

Can Any One Write How to Write the Script for Child Objects

Answer Posted / sandeepguttikonda

Child Objects are used to perform the operations on similar
data.

Example: to get the total number of link in a Page:

And we can perform this by using the below code:

/* Creating the description object*/
Set oDescFrame = Description.Create
oDescFrame("micclass").Value = "links"

Set Links_Count = Browser("name:="&Browsername).page
("title:="&Pagetitle).ChildObjects(oDescFrame)

Msgbox &Links_count.count

This will display the total number of links in a page.

Please let me know if you need any further info.

Thanks.

Regards,
Sandeep Guttikonda

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anyone help.i need total excelsheet operations,shortcuts in testing environment from starting onwards....

1952


What are the methods of the TextStream object that are used for reading from a text file?

2189


supose i hv to acsess some functionlaties of a test in 1 machin , some part other machin how can acsess?

1745


Where we can use the synchronization?

955


Is there anyway to automatically update the Datasource name in Database Checkpoints object when we migrate tests to a new release?

3802


What is data driver in qtp?

952


1--How many functions u develop 2--What is an array 3-- where is ur server 4--U involved in unit testing 5--how ur test the background colour using QTP

1909


How the exception handling can be done using quicktest professional?

951


how to convert 100 into hundred repees only and viceversa

1847


How to delete an object from the object repository?

1038


Explain hybrid framework with advantages and disadvantages?

999


I have many listboxes in my application. I have to check whether the contents inside the listboxes are in sorted order or not..can anyone please send the code as early as possible

1851


What are the different kinds of test steps?

1017


What are metrics and matrix?

1745


How to use reporter.report event in qtp ?

975