Thursday, May 22, 2008

Rational Functional Tester

Rational Functional Tester is an automated regression testing tool that is used to test Java , .NET, terminal-based, and Web applications running on Windows® and Linux platforms.
With Functional Tester, test scripts are created for the purpose of retesting system functionality. With the functional tester scripts are recorded onc e and are amended according the test requirements. With every build of a new system, the scripts are executed to validate previously working functionality. Scripts are generally executed in an unattended mode, so it gives more time to the testing team to test other functionality of the system application.

Features of rational functional tester:
1) It uses object mapping technology while recording scripts that helps in finding the object even if the position of the object is changed in the next build.
2) we can record and playback our scripts on windows but can only linux we can only playback.
3)It uses datapool that helps us in using our scripts for a set of multiple data.

To start working with functional tester we need to do follow these steps:
1)Configuring the java runtime environment.
2)Configure the application for testing.
3)Create a test project.

Configuring the java runtime environment.
First of all we need to configure java JRE on our machine if we want to create scripts in java.
Configure the application for testing
we need to configure the Application that we want to test by selecting configure label on the menubar.then add the application by selecting the radiobutton.For the html application select html radio button and then add the url of the apllication.

Create a test project
A test project is the location where Functional Tester keeps all of your scripts, along with expected and actual results.In functional tester we can use java or .Net for recording the scripts.If you're using the Java language, proceed to Create a Java test project. If you're using Visual Basic.NET, proceed to Create a .NET test project.
1)First open the workspace where you want your tests to be recorded.
2) Select File > New > Functional Test Project to create a new project.
3) Name the project Testproject and click Finish to create your project.
4)Now you can record scripts related to the test project.

Recording Scripts:
1) Start your recording by selecting Script > Add Script Using Recorder...
You can also click on the red record button on the toolbar.
2.)Select script name as Test Script.
3) Click Finish to start recording. The scripting environment minimizes and
the recording toolbar appears.
4. Click Start Application on the recording toolbar that is the third icon from
the left, and looks like a window behind a green triangle.
5. Select the Application that you want to test.
6)Perform the actions on the application and the recorder will record your mouse and key movements and will generate a java code for those steps.
7)Click the stop button on recording toolbar when you are finished with your recording.
8)You can playback the recorded script to check whether it was recorded clearly or not.

Data Driven Testing:
This is the main feature of the automation testing tool that enables us to test the same part of the application for different set of data. From the Recording toolbar, drag the Insert Data Driven Commands icon over the object that you want to use for data driven testing and that object will be encased in a red square.

Datapools:To make your scripts to be used for a multiple set of data you can make your scripts datadriven and store that data into datapool.

1)Right click the project name that you have created and select Add Datapool.
2)Name the datapool and finish
3)Now you can import your csv file into the datapool .
4)check the box first value as variable name if you want your first row in datapool
To be the variable name so as to make it easy for future reference.
5)you can associate this datapool with any scripts under the project.

Verification Point:
With the verification point we can check the state of an object.In Functional tester we have two types of verification points.
1)Data verification point
2)Property Verification point

If we want to check some static or dynamic data in our application we can use data verification point for this purpose. For ex if we want to check the values in the combo box are right or not after the next build ,then for this purpose we can
1)Simply insert a verification point for the combo box.
2)select the combo box by the object finder button and it will be encased in a red box.
3)select perform data verification point and click finish.
4)Now all the values within the combo box have been captured and click finish.
5)This will create a baseline for the combo box. In the next build during playback it will check whether the values in the combo box are same as that in the baseline.

Similarly we can use verification point for checking the dynamic data .for ex-suppose a transaction no is generated for every transaction in the application an suppose it should be numeric every time , so in order to test this thing we can user patterns.

Logs: when our script is completely playback then logs are generated for the scripts by which we can know whether our run was pass or fail.we can save the logs in the HTMl,text or Test
Manager.

5 comments:

Bikari said...

Hi dude,
First of all I praise you for maintaining the blog nicely...

Have you taken the RFT certification?
I heared that few sites[pass4sure,testking] will provide some questions which will surely come in the exam, but we need to purchase them for 100$.

How far this is true?? Is it affordable??

Advanced Thanks for reply.

Naveen said...

Please do mail me @
ibm.royaltester@gmail.com

Anonymous said...

pls mail me at santhosh_rational@yahoo.com

it4year said...

Hi Friends,

I have done my RFT for java cert. Almost the questions came from dump only. I got around 56 questions from net/blog itself. do google it. all the best.....

No need to pay money and all....

contact @ rsjanarthanan08@gmail.com

Lorean Buchholt said...

Read all the related Posts:

64 Software Manual Testing Interview Questions

Answers To Common Job Interview Questions

Behavioral Questions In Interviews

Questions to Ask at an Interview

Competency based Interview Questions


Read all the related Posts:

How to avoid missing defect in Software Testing?

Defect Management Process

What is the difference between a Test Strategy and Test Plan?

Beginners Guide to ETL Testing

Step by step guide from Test Case Development to Test Execution