GPAL - Generally Positive Automation Library v1.0
GPAL The Fluent Automation LIbrary
Loading...
Searching...
No Matches
GenerallyPositive.ApplicationHelper Class Reference

Static Public Member Functions

static bool GotoNextPage (Application.Application application)
 Advance to the next page of results during GetGrid paging. Clicks the configured NextPageButton control. Infinite scroll is not supported for desktop applications.
static void TopProcess (Process process)
 Brings the given process's main window to the foreground/top of the z-order, if it is not already.
static void FillInWithTokens< T > (Application.Application application, IGPALGrid< T > tokens, WriteMode writeMode)
 Enter tokens into form controls.
static void FillInWithTokens (Application.Application application, List< IGPALGrid< string > > tokenList, WriteMode writeMode)
 Enter tokens into form controls for each grid of tokens in the list.

Detailed Description

Definition at line 32 of file ApplicationHelper.cs.

Member Function Documentation

◆ FillInWithTokens()

void GenerallyPositive.ApplicationHelper.FillInWithTokens ( Application.Application application,
List< IGPALGrid< string > > tokenList,
WriteMode writeMode )
static

Enter tokens into form controls for each grid of tokens in the list.

Parameters
applicationThe Application whose UOW elements are filled in
tokenListList of token grids, one call to FillInWithTokens<T> per grid
writeModeHow to write the token text into each control (overwrite/insert/append)

Definition at line 324 of file ApplicationHelper.cs.

◆ FillInWithTokens< T >()

void GenerallyPositive.ApplicationHelper.FillInWithTokens< T > ( Application.Application application,
IGPALGrid< T > tokens,
WriteMode writeMode )
static

Enter tokens into form controls.

Parameters
application
tokens
writeMode
Returns
0 - we are done
1 - loop again

Definition at line 117 of file ApplicationHelper.cs.

◆ GotoNextPage()

bool GenerallyPositive.ApplicationHelper.GotoNextPage ( Application.Application application)
static

Advance to the next page of results during GetGrid paging. Clicks the configured NextPageButton control. Infinite scroll is not supported for desktop applications.

Returns
true if a next page was requested; false if there is no next page.

Definition at line 41 of file ApplicationHelper.cs.

◆ TopProcess()

void GenerallyPositive.ApplicationHelper.TopProcess ( Process process)
static

Brings the given process's main window to the foreground/top of the z-order, if it is not already.

Parameters
processThe process whose main window should be brought to the top

Definition at line 68 of file ApplicationHelper.cs.


The documentation for this class was generated from the following file: