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 different attribute used with regular expression?
anyone can explain about "Smart Identification" in QTP I mean what is the use of "Smart Identification" Give an example
Pls anyone, tell me the script in QTP to find the number of links, and images in a webpage. Verry very urgent. I shall really be very thankful
How many type of status messages are there ..explain?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
How to Compare the 2 xl-sheets in QTP? ple write the vb Script for the comparison?
how and what kind of vb functions do us ein QTP?
i am unable to select an item from combobox using Descriptive programming. can any one give me code for scheduling the ticket using Descriptive programming.
How to test background color and dynamic images during run time can you put the check point for moving objects?
What kind of errors can b handled in QTP in real time scenario?
tell me types of environment variables? what r they? explain details? pls give anwer any one?
Suppose I want fail that check point? How can you do that?