Skip to content
 

IBM Rational Tools Interview Questions and Answers part 1

1. What do you mean by Rational test project and a Functional Test project?

The Rational Test project is the one that contains all the test assets like the test case details, logs, plans, builds etc. The Functional Test project on the other hand contains the higher level test information like the application test data, scripts, checkpoint for the applications, object maps and other details. The association of the rational test project with functional tester will then provide the entire functionality test environment.

 

2. What are the various test managers in RFT?

The ClearQuest Test Manager is the one associates the functional test scripts with the test cases before executing them. We can receive the results of execution and can keep it for future analysis and reporting purposes.

The other Test Manager in the RFT offers us script run features, logging ability along with the record/playback features. The logging still is not needed as there is separate logger for the Functional tester. The support for linux/windows makes this a better option in some situations.

 

3. Why do we associate a project with a test manager?

The advantages of doing so are:

ñ  Scripts are visible from the test manager’s Test script window.

ñ  Execution of scripts on a remote machine is made possible.

ñ  Creation/playback of scripts possible from within Rational test manager. This makes the environment more manageable.

 

4. How does the Functional Tester identify the various objects in the application?

The object oriented approach in identifying the various objects makes it independent of the position of the object and its properties on screen in specific instance. This reference to the object is maintained by the various properties of the object.

 

5. What are the various verification points that can be accessed from RFT? How are they used?

The verification points are the checks over the various data objects of the application during the execution of the script. The points are introduced in script at appropriate places. The data at that specific point is noted to the baseline file and the base file has the expected values stored. There are two types of verification points: Object properties and data. The data verification points further can be sub divided into the Table, text, tree, list and menu hierarchy verification points.

 

6. Does RFT playback depend on the browser type or the OS platform?

The RFT Playback is independent of the OS and it supports all types of browsers. You can just record it on windows and the scripts can be played back using Linux etc.

 

7. Can we export the functional test project files across other projects?

Yes the functional test project files like object maps, vb script files, java files etc can be exported to other functional test projects. The exporting of scripts will automatically include the exports of the other linked objects files and maps.

8. What is the default helper superclass? Can we override it?

Every Functional Test project script by default is linked to the default helper superclass. This is the class that has inherited the RationalTestScript. Thus it has many methods that are useful during the execution. The helper superclass can be overridden when we want additional functionality in the method or when we have to have more methods inherited from that class.

 

9. In how many ways can you delete the cookies from the RFT?

The RFT offers the cookie deletion to be specific to a user, where all the cookies of that specific user is deleted. The other option is to delete the cookies pertaining to a specific domain.

 

10. Describe the steps that are to be done for recording a script for testing web application over RFT.

The first step is to enable the browser so that we have the test environment ready. This can be done by selecting the option “Enable environments for testing” from the configure menu.

After this the application configuration has to be given in for recording the testing of that application. The configure menu has the option “Configure the application for testing”. From this choose the appropriate type of the application and the various configuration parameters. Now the application is ready to be recorded while script runs for testing.

 

11. What is meant by a test project?

In RFT, a test project refers to the complete set of scripts, object definitions and result data that are required to run a complete test of an application. The format in which the test project is stored depends on the language and the environment of the test that is to be run.

 

12. How can we start an application when we want to record the test run?

Startapp command is seen as the best way to start the application when recording, as it uses the parameters in the configuration file and so can be considered reliable. In automated starts the RFT starts the java program or executable as it is or just starts by opening the HTML link in the browser.

 

13. What are the different file extensions that are created when we export the FT project files?

The files are created with the rftjdtr or rftvdtr extensions. They are created in case of java scripting and vb scripting respectively.

 

14. What are the different OS platforms on which the RFT can be successfully run?

The different windows platforms supported are: Windows 2000 server, windows XP professional, Windows 2003 server and enterprise editions. The linux base OS that can be used include RHEL version 4 and above, Suse enterprise server and professional edition 9 and Novel Desktop linux 10.0.

 

15. What are the constraints that we may face when we disassociate a project from a Rational project?

The test scripts and the other linked objects that belonged to the disassociated project are deleted by the test manager. So we will not be able to play back the scripts and test cases that are linked with these deleted project scripts. Even when the same project is linked again with the rational project, new scripts are created.

 

16. What are the benefits of associating a FT project with Rational project?

ñ  We have a single point of management for all projects.

ñ  We can record/playback the scripts from all the projects.

ñ  Using the Rational test agents and the Test manager, remote playback of the scripts is also possible.

ñ  Test manager and the reports that are generated from the various test runs is analytically useful.

ñ  Test log window and the entire test manager suite can come in handy in management of various aspects.

 

17. How can we go about testing with RFT in linux?

The easiest way is to record the script run from a windows machine and then play it back in the linux machine.

The other way is to create the object map using the Object insert tool. We need not record the object for populating the objects instead we can map and select each of the object and input the various parameters for each object. The script explorer gives us access to the verification point wizard using which we can add the sufficient number of verification points.

 

18. What are the main things that can be tested using the Functional tester?

ñ  We can have a comprehensive functionality test for the entire application.

ñ  Verification points can be used for testing the object states.

ñ  We have access to the object properties and the data at different levels from the scripts. So contextual testing is possible.

ñ  Object oriented representation of the entire process and object maps interfaces the testing environment to better test the OO based application models.

 

19. What is the test object map?

The test object map is the one that is created automatically when we record a application run. The test object map has the entire set of objects that are involved in the application that is under test. Thus it gives an easy way to build our object map either having this as the base or selecting as per our requirement. The object recognition parameters are present in the test object map and when we update the parameters in this map, all the maps with parameter reference linked to this are automatically updated for the change. The test object map is hierarchically organized.

 

 


rft interview questions and answers rational tools interview questions

Leave a Reply