what is the use of "TestObject root = getRootTestObject();"
in RFT?



what is the use of "TestObject root = getRootTestObject();" in RFT?..

Answer / abhesheke

TestObject root = getRootTestObject()

getRootTestObject point to the top most object in the
hierarchy of the page which is browser using this you are
going to indentify the object under it.



let me know if you still need any clarification

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More Rational TestSuite Interview Questions

What is meant by verification point and what is the use of it?

0 Answers  


Hi all when you run your scripts, all the corresponding bugs can be loged in to Quality Center (or any bug tracking tool), when you have a connection between both the tools. obviously one is being a BUG TRACKING and TEST MANAGEMENT TOOL (QC) and the next is a TESTING TOOL (QTP). my question is that....being both are different tools how can you establish a connection. As you connect your Monitor with CPU by some cables. ns_prasad21@yahoo.co.in

2 Answers   Wells Fargo,


Initially Recorded: 7/31/00 2:33:02 PM Script Name: COSC 198 Exam Script Sub Main Sets the delay between execution lines to the default value SetTime 100 This Dimensions an integer variable for use in this script Dim Result As Integer StartApplication "notepad" 'This sets the window context to the Notepad window Window SetContext, "Caption={* - Notepad}", "" 'Test Case to verify the text is correct Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") Observe the code mentioned and answer the below questions 1. Which language it is :- a. SQA Basic b. VB c. C like Language d. TSL 2. Type of the script is ---------- a. VU b. VB c. GUI d. C 3. Explain what the above line ( StartApplication "notepad" ) actually does? a) It starts the notepad application. b) We do not have to open it from the start menu, c) it is opened itself from the robot by using the start application by providing the path to it. 4. Which Verification point is inserted? Result = EditBoxVP (CompareText, "ObjectIndex=1", "VP=Text Verification;Type=CaseSensitive") a. Alphanumeric b. Object Properties c. Window Image d. Object Data

1 Answers  


Is it possible to perform performance/stress tests using Rational Test Manager, by executing manual test scripts?

3 Answers  


Shortcut Key for Playback and Halting the playback in Rational Robot are a. F8 and F9 b. F5 and F9 c. F5 and F11 d. F8 and F11

1 Answers  






What are the different data pool access orders?

0 Answers  


For unattended execution whick playback options you will use?

1 Answers   Infosys,


Hi i am learning Rational test could some one please give me some tips and tricks how and where to start and suggest me any sites, documents or traning to go through. Any help is appreciated Thank you.

0 Answers   Rational,


How many verification points are there in Robot and What are they?

2 Answers   GE,


Explain user defined data type with an example..?

1 Answers  


How will you test Java Applications and what settings you need to do?

1 Answers  


How will you do data driven testing using Robot?

2 Answers  


Categories