Best keyword to tab off an element

OK so what I suggest is

  • first navigate to the element before the “drop down combo element” in the tab order with a click or other action that gets you there.
  • Use Press Keys with a locator of None and the TAB key. (this sends the Tab key to the browser window not the element, hopefully this will simulate what you are doing manually)
  • Use Press Keys with a locator of None and the TAB key again to navigate off the “drop down combo element”
  • verify the error message

You might also want to add a Element Should Be Focused step between the Press Keys steps to verify you went to the right field (in case the tab order changed in some future release)

Dave.