You are here: Home Automated Testing Tools Test Manager Complete tutorial Rational Test Manager Part2

SoftwareQAtestings.com

...Your Hub for Software Testing and Quality Assurance

~ Contact Us ~ Privacy Policy ~ Register ~

Complete tutorial Rational Test Manager Part2

Creating the Test Cases

Test Cases hold information about the tests to execute. Right click on the “Customer Name” requirement and click “Insert Test Case”.

 

  • Type in a name (Customer Name Verification) and  select the “Verify Customer Name” Test Case Folder
  • Ensure that the “Edit Properties Now” checkbox is checked and click OK.



Enter a brief description of the test case and click OK to save the test case.

 

The test case opens beneath the requirement. Repeat this procedure for the other two requirements to have something like the following screenshot

 

Creating the Test Script

Test Implementation Type

  • TestManager allows you to attach a whole array of Test Scripts to your test cases.
  • Test Scripts can be automated scripts written in Rational Robot or Functional tester, or even custom tests written in Java, Visual Basic, or any language that can be executed from the command line.
  • Test Scripts can also be Manual scripts that contain a description of steps to perform and verification points that determine whether the test passed or failed.
  • We will be using Rational ManualTest for this tutorial.

Manual Test Script

Open Rational ManualTest by clicking Tools > Rational Test > Rational Manual Test.

  • Steps/Procedures are indicated with black text with a shoe-step icon on the “Type” column, and Verification points have blue text with a check mark on the Type Column
  • Type in the steps required to verify the UserID in Classics Online. (Refer to the screenshot below)
  • When a step ends with a “?” it is automatically converted to a verification point.
  • To change type manually, click on the type field.


  • Save the script by clicking File > Save and enter the name as “Customer Name Verification”
  • Now write a new script (like the one shown below), and save it as “Order Status Verification”

        
Implementing the Test Case

  • Now, we can attach or Test Script to a test case. This is known as implementing the Test Case.
  • Open the Test Plan Window again
  • Right click on the Test Case “Customer Name Verification” and select properties.

Click on the Implementation Tab and click Select in the Manual Implementation group.

In the Select Script window, click on the “Customer Name Verification” script and click Ok.

 

  • Now repeat the same for the “Order Status Verification” script. 
  • You should end up with the Test Plan window looking like the following screenshot.
  • The “pointing finger” icon refers to a manual script attached to the test case, while a “gear” icon shows a automated test script.


Executing the Test Script

  • •You can run a single test script by itself. This is good for a quick execution of a small number of test cases.
  • •(Do not do this now) You can do this by simply right clicking a test case and clicking Run…
  • •However, for a more efficient solution to testing your application, you can create a “Test Suite” that will run tests for multiple Test Cases

 

Creating a Test Suite

  • To create a Test Suite, click the “Execution” tab on the left pane.
  • Right click on the Suites folder and click “New Suite…”

 
On the window that opens, select “Functional Testing Wizard” and click OK.


Click the Select button on the Step 1 Window and on the Test Case Selection Window, select our to test cases with scripts attached to them and click “OK”

 

Creating a Test Suite

You should come back to the Step 1 Window looking like the following:

 

  • Click “Next” on the Step 2 window as we do not need to attach any stand alone scripts.
  • Click “Finish” on the Step 3 window. The script will be created as follows:

•


 

•Click File > Save and enter the name “Classic Online Test Suite”