1.what is the difference between childobjects and child
items in qtp?
2.what is difference between a class and function?
3.can u convert ustimings to indian timings using vbscript?
4.i have scripts in one machine.can i run those scripts in
another machine.how?
Answers were Sorted based on User's Feedback
Answer / savitha
1. Difference between Child Objects and Child Item
Child Objects return a collection of objects of a specific
type.
eg: for the count of No of webedits present in a page we
can use Child objects method
set odesc = Description.Create()
odesc("Class Name").Value = "WebEdit"
Browser("title:=.*").Page("title:=.*").ChildObjects("odesc")
Child Items can be used only with a webtable object type to
retrieve/access a test object from a cell in the webtable.
| Is This Answer Correct ? | 77 Yes | 14 No |
Answer / sanchita
Child Objects is used to access the objects by using a desciption object. For example : To find out the number of links.
Syntax: object.ChildObjects("Description")
Child item is used to access the objects without using a description object. For example : To click a particular link in a specified row and column of a table.
Syntax: object.ChildItem(Row, Column, MicClass, Index)
| Is This Answer Correct ? | 20 Yes | 3 No |
What are the types of data tables in qtp?
when a test case is written how u test using qtp
Suppose there are 10 browsers opened on desktop. I want to close all browsers except one browser in QTP. Can any one give the code for this?
hi guys we r working in office...we write some scripts..suddenly we have a work(5min only) in out side..what will do now,,,used to system shut down or log off or lock or sleep mode,switch use or hibernate?
How to add synchronisation points in qtp?
we have 10 automation scripts. how to call them from one main script.
Hi am New to Automation Testing , any one can you help me what are the basic questiion are asked an interview?
what is supply chain management?
hello, i just started searching for a job on QA ,need QTP software full version.plz can any body help me...my email id is padma_ub@yahoo.com.thanks in advance.
How will you test a stapler?
Explain the concept of how quicktest professional identifies object?
how to generate numbers in between to numbers suppose numbers in between 500 to 1000 in sequencies using vbscript