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 |
When you are running a batch test of 5 scripts and in 2nd script appln crashed, what hpns then?
What frame work ur using in QTP in ur current company?
How many test scripts are prapare in ur project(HeathCare Insurance).
What are the different types of Database checkpoints in QTP? when they are used?
what is descriptive.create()in qtp?
Is there any option in QTP to add Java add-in after instaling the QTP?
What is Object Spy in QTP?
I wanted to create Data Driven test for login page (loginname,password). Password is same for all the loginnames. I recorded the script for one user. I mentioned all the user names in the global excel sheet with the column name as "Loginname". I mentioned 5 loginnames. I selected tools- >datadriver and select loginname. Select parameterize and select parameter all option.Changed the parameter name to "loginname" which i mentioned in the global excel sheet. I executed the script. For the users 2 and 4 only, the script is failing... can anybody explain why the script is failing for users 2 and 4.
what is mercury.clipboard in qtp.where we can get this in qtp tool i.e tabs
what type of frame work used in your company?
Hi, my requirement is to make a query in SQL using QTP. And i have to get the results of that query and i have to use those results for future testing. I created a driver but i dont know the code for using this Driver. please help me by providing the solution for y requorement
I want to run my qtp scipt on the system where qtp is not installed .I don't want to install qtp but i want that system should use the qtp from another system in lan just the qtp instance should be launched on that system without having qtp installed on it .I probably know the solution that it will be solved through RMI but how to get this problem solved plz help i anyone know the answer