< Previous | Next >
Introduction: Get started with functional testing using simplified scripts
In this tutorial, you learn to create simplified test scripts, work with application visuals, and get started with functional testing. You review use cases for testing and performing basic functional testing operations. This tutorial uses the sample application provided with IBM Rational Functional Tester in performing all the tasks.
The tutorial is divided into eight lessons that must be completed in sequence for the tutorial to work correctly.
Learning objectivesYou learn how to perform these tasks:
- Create functional test projects
- Record simplified test scripts
- Data-drive a functional test
- Work with verification points
- Use application visuals
- Modify simplified test scripts
- Insert custom code
- Play back test scripts
Time requiredThis tutorial requires approximately 60 minutes to finish. If you explore other concepts related to this tutorial, it might take longer to complete.
Skill levelThis is an introductory tutorial. Typically, users with little or no experience with IBM Rational Functional Tester can perform the tasks.
Lessons in this tutorial
- Lesson 1: Set up IBM Rational Functional Tester
IBM provides a Java Runtime Environment (JRE) that is installed and enabled for testing Java applications. Use this JRE for the tutorial. When you want to test your own Java or HTML applications, run the enabler and configure your environments and applications. For more information about these setup tasks, see the Getting Started with Functional Tester wizard in the First Steps section of the product Welcome. For now, you do not need to do anything to use the preconfigured JRE to continue.
- Lesson 2: Record a simplified test script
In this lesson, you record a simplified test script by using the recorder to test the Java application that is installed with the product.
- Lesson 3: Perform a data-driven test
In this lesson, you insert data-driven actions into the test script and populate a datapool with the data from the sample application.
- Lesson 4: Create a verification point with a datapool reference
In this lesson, you create a verification point with a datapool reference to check that the price for the CD is correct in the ClassicsCD application.
- Lesson 5: Add data to the datapool
In this lesson, you add data to the datapool to test the ClassicsCD sample application by placing more orders for the CD.
- Lesson 6: Play back the test script
In this lesson, you play back the script and look at some parts of the application interface. Because the script you recorded is the active script, that script plays back when you click the playback button.
- Lesson 7: Edit the simplified script by using the application visuals
In this lesson, you learn to edit the simplified script by using the application visuals.
- Lesson 8: Insert Java custom code
You can switch to Java scripting if you want to insert Java codes to perform additional operations such as extending an API or any functions that cannot be performed directly in the simplified script editor.
< Previous | Next >