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
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 |
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 |
How to use parameterization in qtp?
How many ways we can parameterize data in quicktest professional (qtp)?
what ar the challenges do we face while testing webbased applications using the automation tool qtp or any?
whaht is the difference between CLASS & OBJECT?
Explain the concept of object repository & how qtp recognizes objects?
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
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 ?
What is the difference between client server application and web based application?
What is the diffrence bettween QTP 9.0 and QTP 9.1?
Syntact for how to call one script from another? and Syntax to call one "Action" in another?
how we connect 1. qtp9.2 to the quality center9.0? 2. Load runner8.0 to the quality center9.0
How do you check ticket cost and ticket number in flight application?