Awaiting for the Application

Many UI automation operations require waiting for application screens to be updated or available. Some common causes are:

  • Wait for an element to appear.

  • Wait for something to be visible or enabled.

  • Wait for the application to respond.

Current Support

QualityMate currently solves many of these cases automatically. The following table shows the current support state for these cases:

Operation

State

Example

Control searching

Supported

View.Control.Click(); View.Control.Find(selector).Click();

Busy Loaders

Supported

See the BusyLoaders article.

Validations

Supported

View.Control.Validate(c => c.Displayed);

set_Text Interaction for Desktop

Supported

View.Control.Text = "Hello World!";

PageObject Interactions

Supported

View.Focus();

Control Interactions

Supported

View.Control.Click();

Sub-control access by indexers

! Pending

View.Table[i][j].Click();

Sub-control access by IEnumerable/LinQ operations

Cannot Support

View.Table.Rows.First(condition).Click();

To solve not-supported cases, the Retry class can solve most cases not handled automatically by QualityMate.

Check the Best Practices article to know our recommendatios.

Last updated