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 |
can u please explain what is the exact difference between qtp8.2 and 9.0
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
how to write vbscript on web applications in qtp. explian with one example?
Can we do Load Teting with QTP?
Give me detailed theritical explanation about keyword driven, hybrid framework, environment variables, hybrid frame work
Older version QTP is 8.2 and New version QTP is 9.2. My question is, Why it is QTP 9.2, why not 8.3,8.4 .... why it is not something ?
how to select the work for complete automation and one more thing when u are going to choose automation
How to find the name of the machine where you are running your automation scripts in qtp?
What is iteration?
My company has recently started using Ajax for building UI and QTP is nor recognizing the drop down list for selection.It recognises it as a general Web Element or Web Table. I have added individual selections from the drop down as web Table. It works as long as the page is not refreshed. I need some help and inputs as to how to make QTP recognise a drop down list for selection. Any help will be appreciated.
we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?
How you can replace string in qtp?