Difference between revisions of "コマンドリスト"

From GXtest Wiki
Jump to: navigation, search
(Created page with "{{Idiomas |Lista de Comandos |Command List }} category:GXtest Guides category:GXtest Commands == Command List == GXtest Commands are grouped in three categories: acc...")

Revision as of 19:52, 6 November 2013

Spanish.gif
English.gif
link= {{{3}}}

Contents

Command List

GXtest Commands are grouped in three categories: accions, events or validations.


Actions

Actions
Check Allows you to tick or check a CheckBox
CheckTable Same as Check but used for controls that are located in tables
Choose Allows you to select an option from a RadioButton
Concatenation Allows concatenation of fixed values, variables and values from DataPools
DPNext Move to the next row of a Data Pool. You should always use DPNext before you begin to use a Data Pool, indicating the name of Data Pool
DPReset Returns to the beginning of a Data Pool.
DragAndDrop Drag a control to another one
Execute Execute a process (exe, bat, etc)
FillInput Used to insert a value into a field
FillInputTable Used to insert a value into a field within a table
GetValue Allows you to obtain a value returned from an application and store it in a variable to later be used in another command
GetValueTable Same as GetValue but used for values that are located in tables
Pause Sleep the execution for some time. You should indicate the length of the pause in miliseconds
PressKey Simulates a keystroke made by a user. For more information on how to specify different keys see the following reference
Random Generates random sequences of numbers and characters of a given length
SelectCombo Allows you to select a value from a list of values (combobox)
SelectComboInTable Allows you to select a value from a list of values (combobox) that are found within a table
Summarize Summarize a group of values
SelectRow Allows you to select a row in a table
SetGridContext Allows you to execute actions over controls in grids within grids. You can find more information in Inputs in Grids within Grids.
SQLExecute Executes an arbitrary SQL sentence over a selected database
StoreValue Save a value or variable inside one DataPool in execution time
TakeScreenshot Guarda el HTML de la página y una captura de la pantalla al momento de ejecutar el comando.
UnCheck Allows you to uncheck a CheckBox
UnCheckTable Same as UnCheck but used for controls that are located in tables

Events

Events
Back The same as clicking the Back button in a browser
Go The same as typing a web address (URL) into a browser
GoAndLogin The same as the Go command except that it allows you to enter a username and password for applications that require it
Click Clicks on a GeneXus control
ClickLinkByCaption Clicks on a link. The difference between this event and the previous is that sometimes because of how an application is constructed the same control has more than one name. In these cases ClickLinkByCaption is used to specify the name of the link to be controlled
ClickMenu Allows you to click in a menu item
ClickTable Allows you to click on a control that is located in a table
ClickPrompt Allows you to open a prompt to select values from a list
ClickPromptInTable The same as the above except for fields that are located in a table
ClickPortalMenu Allows you to open a specific menu of an application developed with GXPortal
ClickToolbarButton Allows you to click on a toolbar button in an application made with GeneXus X and that uses a User Control with ExtJS
ClickTree Allows you to open a menu developed with ExtJS TreeMenu (in an application made with GeneXus X and that uses a User Control with ExtJS)
Close Closes a window
DummyEvent Does nothing. Used to go form one page to another without performing an event
LoginPortal Allows you to login to an application that uses GXPortal for security
PressKey Idem to the action, but for those keys that produces a transition to other page (like an enter)
SeleniumCommand Allows to define Selenium commands for execute in GXtest.

Validations

Validations
AppearBalloon* Checks if a balloon appears on a control
AppearBalloonTable* Similar to AppearBalloon but used for controls within grids
AppearText Checks if a specific text is or is not on the screen. It can also be used for validations performed by Ajax. If it indicates a GeneXus object associated with the node where the command is being run, it will search the text in the frame that contains this object. If it is not indicated then it will look in the main frame
Equals Compares each other two Data Pool, Variables or values
IsItemInList Verifies if an especific item exists in a list of items
TableOrderedBy Checks to see if a table is sorted by a given column
TableRowsNumber Checks the number of rows of a given table
VerifyColumnVisible Verifies if a column is visble in a grid
VerifyControlEnable Verifies that a control is enabled
VerifyControlEnableTable Same as VerifyControlEnable but used for controls that are found in a table
VerifyControlVisible Verifies that a control is visible
VerifyControlVisibleTable Same as VerifyControlVisible but used for controls that are found in a table
VerifyControlFocus Verifies if the current application focus is in the right control
VerifyControlFocusTable Same as VerifyControlFocus but used for controls that are found in a table
VerifyControlText Compares a value displayed by a control with another value
VerifyControlTextTable Same as VerifyControlText but used for controls that are found in a table
VerifyControlValidation* Compares a value displayed in a balloon in a control
VerifyControlValidationTable* Similar to VerifyControlValidation but used for controls within grids
VerifyItemsInList Checks the list of elements in a list
VerifyItemsInListTable Same as VerifyItemsInList but used for controls within grids
VerifyItemsInSuggestion Checks the list of elements in a input suggestion list.
VerifyItemsInSuggestionTable Same as VerifyItemsInSuggestion but used for controls within grids
* When execute a command above a balloon, GXtest waits to disappear the balloon to continue with the next command to execute.