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


What is chaild object method?
When we will go for chaild object method?
How to use chaild object method?

Answers were Sorted based on User's Feedback



What is chaild object method? When we will go for chaild object method? How to use chaild object m..

Answer / suresh kumar

Child object method Returns the collection of child objects
contained within the object.

Example for how to use This method

Public Function CheckObjectDesription(parent, descr)

Dim oDesc

' Create description object

Set oDesc = Description.Create()

arProps = Split(descr, ",")

For i = 0 To UBound(arProps)

arProp = Split(arProps(i), ":=")

If UBound(arProp) = 1 Then

PropName = Trim(arProp(0))

PropValue = arProp(1)

oDesc(PropName).Value = PropValue

End If

Next



' Get all child objects with the given description

Set children = parent.ChildObjects(oDesc)



If children.Count = 1 Then

CheckObjectDesription = "Object Unique"

ElseIf children.Count = 0 Then

CheckObjectDesription = "Object Not Found"

Else

CheckObjectDesription = "Object Not Unique"

End If

End Function

Is This Answer Correct ?    3 Yes 0 No

What is chaild object method? When we will go for chaild object method? How to use chaild object m..

Answer / sravan

if we want to get all the objects with in a window then we
will use the child object method..add the window in the
object repository then it will select all the objects in the
window..then call a function with getroproperty method in it
to get all child objects one by one

Is This Answer Correct ?    1 Yes 4 No

Post New Answer

More QTP Interview Questions

How to use parameterization in qtp?

0 Answers  


How many ways we can parameterize data in quicktest professional (qtp)?

0 Answers  


what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?

4 Answers   TCS,


whaht is the difference between CLASS & OBJECT?

3 Answers   Accenture,


Explain the concept of object repository & how qtp recognizes objects?

0 Answers  


how would you go for testing a web application like any jobsite?(using manual n qtp)..pls frnds its very urgent ..i need realtime answers...thanks in advance

2 Answers   Wipro,


what happen in object repository(shared)if we call an existing action from an external action ? and what happen in object repository(peraction)if we call an existing action from an external action ?

2 Answers   Covansys, Systel,


What is the difference between client server application and web based application?

1 Answers   IBM,


What is the diffrence bettween QTP 9.0 and QTP 9.1?

1 Answers  


Syntact for how to call one script from another? and Syntax to call one "Action" in another?

1 Answers  


how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0

0 Answers  


How do you check ticket cost and ticket number in flight application?

0 Answers  


Categories