Latest Rational Functional Testing Interview Questions
Q – 1 Can you please explain about Private vs. Shared Object Mapping in RFT?
Ans- Private Object Mapping:
– Objects are isolated from other objects.
– A good choice for development of scripts.
– There are chances to lead redundancy.
Shared Object Mapping:
– Scripts are shared among multiple testers.
– Shared object mapping involves single point of maintenance.
– Shared objects can have private maps for any one of the shared objects.
Q – 2 Tell me what are the event handlers which are invoked automatically by Rational TestScript class?
Ans-
– onInitialize – invoked when every script is started.
– onTerminate – invoked at the end of each script.
– onAmbiguousRecognition – invoked when there are more than one objects are found.
– onObjectNotFound – invoked when there is no availability of an object during play back.
– onSubitemNotFound – invoked when a sub item is not
– onVpFailure – invoked when the designated VP fails to compare.
Q – 3 What is Shared Object Mapping?
Ans-
– Scripts are shared among multiple testers.
– Shared object mapping involves single point of maintenance.
– Shared objects can have private maps for any one of the shared objects.
Q – 4 What is Private Object Mapping?
Ans-
– Objects are isolated from other objects.
– A good choice for development of scripts.
– There are chances to lead redundancy.
Q – 5 Explain the benefits of associating Functional Tester project with Rational Project?
Ans- 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.
Q – 6 Tell me how to integrate Clear Case into Rational Functional Tester for version control?
Ans- 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.
Q – 7 Explain what is a datapool its contents and creation process?
Ans-
– 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.
Q – 8 Explain what are the verification methods?
Ans- 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.
Q – 9 Explain what is the purpose of a test object map in Rational Functional Tester?
Ans-
– 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.
Q – 10 Tell me for how many development platforms & Languages, Functional Tester is available?
Ans- 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.
Q – 11 Tell me what is the use of Rational Functional Tester?
Ans- 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.
Q – 12 Explain what are the differences between GUI Scripts and VU scripts in Rational Robot?
Ans- 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.
Q – 13 Do you know what are the steps to test HTML element properties in Rational Robot?
Ans-
– 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.
Q – 14 What is VU Scripting?
Ans-
– 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.
Q – 15 What is GUI Scripting?
Ans- – GUI scripting is used for functional testing.
– GUI scripting is used to play back the recorded activities.
Q – 16 Tell me how to connect to database using Rational Robot?
Ans-
– 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.
Q – 17 Do you know what are the possible Object Recognition Failures and how to fix them?
Ans-
– 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.
Q – 18 Explain how data driven testing is useful in RFT?
Ans-
– 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.
Q – 19 Tell me what are the steps to perform automation process using RFT?
Ans- 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.
Q – 20 Can you please explain about Test Managers in RFT.?
Ans- 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.
Q – 21 Tell me what are the differences between Rational Functional Tester and Rational Robot?
Ans- 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.
Q – 22 Tell me what is IBM Rational Functional Tester Proxy SDK?
Ans- – 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.
Q – 23 Explain Rational Robot?
Ans-
– Rational Robot uses SQA basic for scripting.
– RR works pretty well with Power Builder applications.
– Rational Robot works only with Windows Platform.
Q – 24 What is Rational Functional Tester?
Ans-
– 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.
Q – 25 What is Clear Quest Test Manager?
Ans-
– CQTM associates with functional test scripts.
– The received execution results can be analyzed.
– The results of execution are recorded for reporting.
Q – 26 What is Test Manager?
Ans-
– 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.
Q – 27 Explain how to identify various objects by Rational Functional Tester?
Ans-
– 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.
Q – 28 Tell me how to implement customized Super Helper?
Ans- 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