Selenium Workbook #46: Create Client Invoice (Inline-Edit)

Fee Calculation; Inline-Edit Testing

Courtney Zhan

--

This article is one of the “Web Test Automation Workbook” series, a set of bite-sized exercises (typically 15–20 mins). A practical and satisfying way to learn web test automation with Selenium WebDriver.

Test Case #46

Learning Objectives

  • Test inline editing
  • Review: live search (search as typing)
  • Review: clear a text field
  • Review: send special keys, e.g. Enter
  • Review: get yesterday’s date in a formatted string (dynamic date)

Test Design

  • Select any client (clicks Clients nav on the left to find a client, such as ‘Bruce Lee’)
  • On the “Determine Fee” modal, type a character such as s to get a list of matching services. Select one billing item to add. Then click the ‘Create Invoice’ button.
  • On the invoice page, click the invoice date (dot underline) to edit it
    (this is known as “inline-editing”)

Test data

--

--