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 Environment parameterization? Explain with an example.
What is the limitation to XML Checkpoints?
Today only i joined in this site. Can u please tell me definition of parameterization. and how i can do the parameterization?
Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know
Diff b/n image n bitmap checkpoints?
how to retrieve the column headers in database using vbscript statement in QTP
How to capture data from images in QTP and produce them in Excel sheet ? please ans...
Why divide a test into three action calls?
Can u call txt extension file in QTP?
what is the use of descriptive programming in QTP ? when we need to use DP? can we test the application completely with out useing DP?? please explan with example
Can we test the Word Document using QTP Tool? We should test the page size,page set up, paragraph indentation and spacing, font size of the the character int the page.
I m in new and want to learn QTP. Is any website which provide free QTP video training.....also can downlaod....