Tutorial-1 How to retrieve the value of an object property programmatically
A suggestion of great value:
Before practicing these Tutorials on “Rational Functional Tester – IBM RFT”, it is recommended that you acquire a preliminary working knowledge of using this wonderful tool – “Rational Functional Tester”. This can be easily attained by careful study of the“Frequently Asked Questions � FAQ�s” brought to you by this web site for the first time by Clicking on the following link:
<<<<<<<< =========== >>>>>>>>
This short tutorial presents a simple method to retrieve the value of an object property programmatically by
using the getProperty method.In the following example we use the getProperty method to find out as to whether a label contains a success message. If it contains the success message, the OK button will get clicked. If it doesn’t contains the success message, the Cancel button will get clicked.
An expert on R&D, Online Training and Publishing. He is M.Tech. (Honours) and is a part of the STG team since inception.