1. Tell me how to implement customized Super Helper?
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.
2. Explain how to identify various objects by Rational Functional Tester?
- Object Oriented technology is used in Rational Functional Tester.
- OO technology is used for identifying several objects.
- Objects are identified by their internal properties.
- Functional Tester finds the changes in objects' location on playback.
- Functional Tester even identifies changes of text pertaining to an object.
- The Test Manager includes Test Manager Log that runs on Windows & Linux platform.
- It has Test Management features such as running scripts, editing scripts.
- RFT contains its own logs.
- RFT does not depend on log integration of Test Manager.
4. What is Clear Quest Test Manager?
- CQTM associates with functional test scripts.
- The received execution results can be analyzed.
- The results of execution are recorded for reporting.
5. What is Rational Functional Tester?
- RFT uses Java kind of OOP languages and VB.Net as language.
- RTF woks pretty good with JEE projects, ASP.NET and VB projects.
- RTF most advanced features includes support for automated mainframe testing with emulators.
- Rational Robot uses SQA basic for scripting.
- RR works pretty well with Power Builder applications.
- Rational Robot works only with Windows Platform.
7. Tell me what is IBM Rational Functional Tester Proxy SDK?
- IBM RFT Proxy SDK allows extending user interface controls to the applications.
- Proxy SDK provides complete documentation, API.
- Proxy SDK has samples that are ready to use.
- It has user friendly tutorials on extending Functional Tester support to test the newly added controls.
- Controls that are available in existing domains can be extended using Proxy SDK.
8. Tell me what are the differences between Rational Functional Tester and Rational Robot?
Rational Functional Tester:
- RFT uses Java kind of OOP languages and VB.Net as language.
- RTF woks pretty good with JEE projects, ASP.NET and VB projects.
- RTF most advanced features includes support for automated mainframe testing with emulators.
Rational Robot:
- Rational Robot uses SQA basic for scripting.
- RR works pretty well with Power Builder applications.
- Rational Robot works only with Windows Platform.
9. Can you please explain about Test Managers in RFT.?
Test Manager:
- The Test Manager includes Test Manager Log that runs on Windows & Linux platform.
- It has Test Management features such as running scripts, editing scripts.
- RFT contains its own logs.
- RFT does not depend on log integration of Test Manager.
Clear Quest Test Manager:
- CQTM associates with functional test scripts.
- The received execution results can be analyzed.
- The results of execution are recorded for reporting.
10. Tell me what are the steps to perform automation process using RFT?
1. Recording of Test Scripts:
- Test scripts are recorded on the fly, while the user navigates through application.
- Verification points are inserted for validating the system response, which makes the test scripts data-driven.
2. Enhancing Test Scripts:
- Conditional branching, refactoring, handling exceptions are performed for additional functions.
3. Playing Back the Scripts.
- Scripts execution on certain application under test to emulate the actions that are already performed during recording of the scripts is done.
- Drawing conclusion , logging the discrepancies are performed in order to address the desired issues / regression issues of application functionalities.
11. Explain how data driven testing is useful in RFT?
- Same script can be used for different scenarios with minor variations.
- The test data from the test script is obtained to modify data, add new test cases.
- The test data can be shared with several scripts.
- Utilize the wizard driven process to avoid programming.
- Wizard driven process is used to import data from various external resources.
12. Do you know what are the possible Object Recognition Failures and how to fix them?
- Change of recognition properties in the parent object.
- Change of ancestry structures.
- Recognition properties are not resilient.
Following are the solutions to fix them.
- Updating Recognition Properties in Object Map Editor.
- Using Regexp (regular expression) for values of object properties.
- Adjusting recognition property weight.
This favors more resilient properties.
13. Tell me how to connect to database using Rational Robot?
- Create a script for single use testing.
- Make sure that data pools are created for appropriate databases.
- Edit the scripts that work well for huge amount of data.
- GUI scripting is used for functional testing.
- GUI scripting is used to play back the recorded activities.
- VU scripting is used for performance testing.
- VU Scripting is used to play back the requests that are recorded for client/server requests and responses. This recording is done during performance testing sessions.
16. Do you know what are the steps to test HTML element properties in Rational Robot?
- Start recording process in Robot.
- Navigate to the web page which contains the HTML elements for testing.
- Ensure that GUI Insert Toolbar is configured.
- Click on the Object Properties Verification Point button on this tool bar.
- Provide a name, expected result and the wait state to verification point.
- Click on OK.
- Select the HTML element that is to be tested and click on OK.
- To insert the verification point, click on OK.
17. Explain what are the differences between GUI Scripts and VU scripts in Rational Robot?
GUI Scripting:
- GUI scripting is used for functional testing.
- GUI scripting is used to play back the recorded activities.
VU Scripting:
- VU scripting is used for performance testing.
- VU Scripting is used to play back the requests that are recorded for client/server requests and responses. This recording is done during performance testing sessions.
18. Tell me what is the use of Rational Functional Tester?
Following are the functions that are performed by RFT:
- Performing complete functional testing of a software application.
- Object testing including properties of the object and its data.
- Creates and edits OO test scripts in simplest manner.
- Scripts navigation recording and playing back them through the application.
- Performs testing of state of the objects.
- Allows generating code through wizards, like creating verification points.
19. Tell me for how many development platforms & Languages, Functional Tester is available?
Functional Tester is available for two IDEs and two scripting languages:
- IBM Rational Software Development IDE.
- MS Visual Studio .NET IDE.
- Java Scripting.
- VB Scripting.
- Functional Tester uses Java Scripting in IBM Rational IDE and VB Scripting in MS Visual Studio .NET IDE.
20. Explain what is the purpose of a test object map in Rational Functional Tester?
- At the time of recording the script, the test object map is created, while the application is under test.
- Test Object Map provides a brisk way for adding objects to a particular script.
- Test Object Map provides the list of test objects that are available in the application.
- A new Test Object Map can be created by basing on existing map or by adding the required objects.
- A TOM contains certain properties for every object.
- Recognition information can be updated, thus scripts which are using the object map are able to share the information.
21. Explain what are the verification methods?
The following are the verification methods:
- Case-Sensitive: Verifies the text that is captured during recording exactly with the text that is captured during playback.
- Case-Insensitive: Verifies the text that is captured during recording exactly with the text that is captured during playback in content but not in case of alphabets.
- Numeric Equivalence: Verifies the values that are captured during recording exactly with the values that is captured during playback in content.
- Numeric Range: Verifies the values which are captured during recording fall within a specified range during playback.
- User-defined DLL test function: Sends text to a function which in a DLL, so that custom tests can run. Path specification that includes directory and the name of the DLL is done.
- Selected blank field verification: Verifies the field selected has null values, which has no text or numeric data. The verification point will pass, when the field is blank.
22. Explain what is a datapool its contents and creation process?
- A single value can be replaced with multiple values, by recording one time, instead of recording many times for different input data.
- It has the replaced values.
- A script can be created by recording.
- The process is as follows:
1. Select the field in the application. Data pool is created for this field.
2. Click Tools Menu -> Manage-> Datapools from Test Manager, to create the data pool.
3. Enter the specific name for data pool name field along with its data type.
4. Enter multiple values that are to be replaced in that field.
5. Modify the script as per the need of the application.
23. Tell me how to integrate Clear Case into Rational Functional Tester for version control?
Version Controlling is performed by using ClearCase. The following is the process to configure it.
- Select the Preferences menu item from Window menu.
- Check the ClearCase SCM Adapter under Workbench Capabilities.
- Ensure that Core Team Support is checked.
- Check Enable integration with ClearCase option under Team Functional Test.
- Select Team ClearCase SCM Adapter. ClearCase settings are configured in this screen.
- Click on OK.
24. Explain the benefits of associating Functional Tester project with Rational Project?
The following are the benefits:
- Testing assets are managed from one Rational Project.
- The functional scripts can be recorded and play back from Rational Test Manager.
- Functional test scripts can be played back on different computer architecture using Rational Test Agents, via Test Manager.
- Functional tester logs can be managed by using Test Log window from Test Manager.
- Test Manager can be used to coordinate the running scripts.
25. What is Private Object Mapping?
- Objects are isolated from other objects.
- A good choice for development of scripts.
- There are chances to lead redundancy.