Execute An Automated Test Case

The Test Execution page allows users to execute the Test Cases they created in Test Designer. For Manual Test Cases, see Execute A Manual Test Case.

AutoHub must be installed and available or automated Test Cases will have their Run New Test buttons grayed out. See how to install AutoHub.

1. Find the Test Case in Test Execution

To find the Test Case:

  1. Click Test Execution.
    Test Execution
  2. Search for a Test Plan that contains the Test Case:
    Test Execution only displays Active Test Plans.

    1. Click the search field beside the black magnifying glass. Black magnifying glass
    2. Type a search query.
    3. Press Enter on your keyboard.
  3. Click to select a Test Plan.
  4. Locate the Test Case in the Test Plan:
    Test Cases can now be manually sorted in Test Designer. See Manage Test Case Folders.

    1. Click the Requirements tab and selecting a Requirement.
      Or:
    2. Click the Test Case Folder tab and select a folder:
      Test Case Folders now show the number of Test Cases they contain.
       

      • All new Test Plans now have a default Test Case folder. For example, AMC_TEST PLAN 1 (default) in the screenshot below. When users add Requirements with associated Test Cases into a Test Plan, those Test Cases will be added to the default Test Case folder.
      • The Test Case Folder now contains the phases from the Test Plan. For example, UAT above. By default the phases are empty and users must add folders by clicking the new folder button. New folder button
    3. Quick or Advanced Search for a Test Case: Click Advanced Search. See Quick Search and Advanced Search for more information.
    4. Automated Test Cases have a checkbox and a Selenium icon.
      Automatic and manual test cases v105670791c021cc05 automatic

 

2. Execute an Automated Test Case

AutoHub must be installed and available or automated Test Cases will have their Run New Test buttons grayed out. See how to install AutoHub.

To execute automated Test Cases:

  1. To run:
    1. A single automated Test Case:
      1. Click the automated Test Case’s Run new test button. Automated Test Cases have a checkbox and a Selenium icon.
        Test Execution automated test
    2. Two or more automated Test Cases simultaneously:
      1. Click to select the automated Test Cases’ checkboxes.
        Click to select the checkbox Test Execution v105616cd89959c884
      2. Select one of the following from the Action drop-down menu: Test Execution action menu Sept 25 2017
        • Run AlI: To run all the automated Test Cases listed in the Test Case Folder or Requirement.
        • Run Selected: To run on the automated Test Cases with selected checkboxes.
          During Selenium Integration set up, you can specify how many Test Cases will be run simultaneously. If more than that number are run, they will be queued.
  2. The test or tests will run:
    • The Run New Test button will change to Sending Request.
    • The test or tests will either:
      • Fail due to a configuration issue: The status will change to Failed. Check your log files (see below) for the reason for the failure. You may need to check your paths and other configuration information.
        Failed automated test execution v105670791c021cc05
      • Start: The status will change to In Progress.
        • To stop the test in progress, click Abort Test.
    • When the test or tests end:
      • The status will change to Failed or Passed.
      • The Run New Test button will reappear.
  3. Manage Comments:
    To manage comments, users need the Comments View, Comments Create, and Comments Update user permissions

    1. Click the Overview tab.
    2. Add a comment by typing your comment in the Your comment… field and clicking Send.
    3. Click Edit to edit your comment.
    4. Click Reply to reply to a comment.
    5. To tag a User, so that your tagged comment appears in their Comment Stream:
      1. Type the @ symbol and the first few letters of their name in the comment field.
      2. Click to select their name from the menu that appears after you type @.
        Tag a user in comment stream v101456f83a9b2da90
  4. To view test run log files:
    1. Click the Test Case name.
      Test Execution automated test test case name
    2. Click the Test Run History tab.
      • Test Run History appears in the left-hand panel. Click each test run to view details.
        Automated Test Case History v105670791c021cc05 Test run history
      • Log files from the automated tests appear as text file attachments. They can be viewed or downloaded.
        Automated Test Case History v105670791c021cc05 log files

 

Back to the top arrow

Related Articles

Contents

Be the first to find out about new features. Subscribe to the Release Notes email.

Was this article helpful?

Thanks for your answer!