enter value in popup

Description

Write text in a field in a popup, and click OK.

Important: This action is dedicated to Generic WebDriver.

Arguments

  • value: the input text.
  • timeout: maximum time (in seconds) to wait for a value to be input in the popup. Default value: 3.

Valid contexts

This action may be used within the following project items: test modules and user-defined actions.

Note

The enter value in popup action includes the click popup action. That means upon inputting a value in a popup, TestArchitect will automatically click OK in the popup to close it. You do not need to explicitly call the click popup action following the enter value in popup action.

Example

You are testing the subscription feature of a news page.

  1. When you click the Subscribe button in the page, a popup appears so that you can enter your email address.
  2. The test enters an email address, e.g. james.doe@yahoo.com, in the popup.

Action lines