Rational Functional Tester Question:
Tell me how to implement customized Super Helper?
Answer:
An Unexpected Active Window handler in the scripts can be handled in a situation where a window other than one Functional Tester is attempting to access the resource become active. The process is:
- Create a sample folder for holding the Super Helper class.
- Create a Java class that acts as Super Helper class.
- In the helper class, implement the “onObjectNotFound” handler.
- To extend the Super Helper, modify the properties of a script’s helper class.
- Modify the property – Alter the Functional Tester, to make use of all new Functional Tester scripts for customized Super Helper.
- Create a sample folder for holding the Super Helper class.
- Create a Java class that acts as Super Helper class.
- In the helper class, implement the “onObjectNotFound” handler.
- To extend the Super Helper, modify the properties of a script’s helper class.
- Modify the property – Alter the Functional Tester, to make use of all new Functional Tester scripts for customized Super Helper.
Previous Question | Next Question |
Can you please explain about Private vs. Shared Object Mapping in RFT? | Explain how to identify various objects by Rational Functional Tester? |