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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Robot?s command line options?

1846


If we write the script for login page and click on submit boutton then it opens order page...How we can validate that opened page is wether orderpage or not?

1973


Could any one share scripts... where we can Parameterize radio buttons and Check boxes.

1799


If you want to output the results to the log file .. How to do?

1866


How to analyze results after playback?

882


What are the different data pool access orders?

1968


Which of these is not a kind of report in Rational Test Manager a. Performance Report b. Build Listing Report c. Test Plan Report d. Test Case Report

1679


Explain purpose of inserting delay values in the scripts of rational?

811


Where do you view the results in Trap option?

2032


If we write a scipt for login page and we click submit button then it moves to order page ... How we can validate once we click the submit button it opens wether order page or not

2028


How will you do data driven testing using Robot?

2187


How to get the OR SAP discriptive program by using RFT.

2877


What is the purpose of inserting delay values in the scripts of rational?

854


How can I date change in tally whenever new voucher entery. When I press F2 I can change the date only 1,2&31. When I feed other dates like 12,15,17, 21 etc. not changed. Please tell me how can I change the all voucher dates.

1968


what is responsibilities of the Rational Robot

1913