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 |
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" ar = Window("Flight Reservation").WinComboBox("Fly From:").GetContent your actual value is : that shows data in combo box how can u test the both data is correct or not by using split function
how can u find the syntax errors or other script errors in your test during the execution of your QTP Test - (i.e., not after the execution/test run finished, but before finishing the test run)
What is the maximum size of Object Repository in QTP 8.2?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
What do you mean by iteration?
please write a script to find the text in a application. Note: i dont know the location of that text where it is located. just like negative testing.
.have you ever written compiled module? if yes , tell me about some of the function that you wrote.
why we are using environment variables instead of global variables?
Explain the difference between data driven testing and parameterization ?
what is the hierachy of Descreptive programming?
How to get popup error message.
i am entering wrong data or wrong password in a text box and click on submit button .i am getting a popup window with a message Please enter the correct password or data .How can i handle this situation by using QTP.