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 |
Hi, Where should I get all the test's results If I ran the scripts in Batch run. At the result window I found only last test result. Could any one help me on this?
how to test Web application using QTP software
How you automate testscripts one by one or modukewise or all at once
how are environment variables used in real time projects (testing)?what answer should be given about this in interview.need real time explanation breifly?thnx in advance.
how can i call reusable action in a function could any one explain me?
I had created the new virtual objects for web application buttons. how to add those virtual objects into object repository. Previously i had used Gui map in winrunner for capturing virtual objects for web application. Please help me regarding this. need your answer quickly
suppose i login into gmail page after that i read all the messages (say 10 messages) i have to send (SAVE) the messages in Html,notepad and i have to replay(Compose) send the messages please give me the code and give mail id so that i can clear my question
Suppose i have given 10 test cases all the test cases should be automated?
What is the ur roles and responsibilities as automation testing engineer?
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP.
In key word driven framework,we will rename the logical names of objects,why?
Why do we use text checkpoint as we can make use of the same in the standard check point?