| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String fpsTestname)
\~german
Markiert den Anfang eines neuen Testfalls.
|
void |
ClickOn(String FN)
\~german
Klickt auf das gegebene Objekt.
|
void |
CopyFile(String fpsSourcePathAndFileName,
String fpsDestinationPathAndFileName)
\~german
Copiert die gegebene Quelldatei zur Zieldatei
In den Pfadangaben sind:
- OKW-Parser angaben sind erlaubt ```${umgebungsvariable}```, ```${merkewertschlüssel}```.
|
void |
DoubleClickOn(String FN)
\~german
Führt ein Doppelklick auf das gegebene GUI-Objekt aus.
|
void |
EndTest()
\~german
Signalisiert das Ende eines Testfalls.
|
void |
FileDelete(String fpsPathAndFileName)
\~german
Löscht die gegebene Datei.
|
void |
LogCaption(String FN)
\~german
Gibt die \ref refCaption eines GUI-Objektes in den Testergebnissen aus.
|
void |
LogExists(String FN)
\~german
Gibt die Existenz eines GUI-Objektes mit YES/NO in den Testergebnissen aus.
|
void |
LogHasFocus(String FN)
\~german
Dokumentiert den Fokus-Status des gegebenen Objekts.
|
void |
LogIsActive(String FN)
\~german
Dokumentiert den Status des gegebenen Objekts.
|
void |
LogLabel(String FN)
\~german
Gibt den Wert des Etikette/Label in der Logdatei aus.
|
void |
LogPlaceholder(String FN)
\~german
Gibt den Wert des Platzhalters in der Logdatei aus.
|
void |
LogSelected(String FN)
\~german
Dokumentiert den markierten Text des gegebenen Objekts.
|
void |
LogTablecellValue(String FN,
String COL,
String ROW)
\~german
Dokumentiert den Wert der ausgewählten Zelle.
|
void |
LogTooltip(String FN)
\~german
Dokumentiert die Kurzinfo zu einem Werkzeug des gegebenen Objekts.
|
void |
LogValue(String FN)
\~german
Dokumentiert den Standartwert eines Objekts.
|
void |
MemorizeCaption(String FN,
String fpsMemKeyName)
\~german
Keine Beschreibung zu "MemorizeCaption" verfügbar
|
void |
MemorizeExists(String FN,
String fpsMemKeyName)
\~german
Merkt sich den aktuell existierenden Zustand des Objekts.
|
void |
MemorizeHasFocus(String FN,
String fpsMemKeyName)
\~german
Keine Beschreibung zu "MemorizeHasFocus" verfügbar
|
void |
MemorizeIsActive(String FN,
String fpsMemKeyName)
\~german
Merkt sich den Zustand des gegebenen Objekts.
|
void |
MemorizeLabel(String FN,
String fpsMemKeyName)
\~german
Speirchert den aktuellen Wert der Etikette, und legt diesen unter fpsMemKeyName ab.
|
void |
MemorizePlaceholder(String FN,
String fpsMemKeyName)
\~german
Speirchert den aktuellen Wert der Platzhalters, und legt diesen unter fpsMemKeyName ab.
|
void |
MemorizeSelectedValue(String FN,
String fpsMemKeyName)
\~german
Keine Beschreibung zu "MemorizeSelectedValue" verfügbar
|
void |
MemorizeTablecellValue(String FN,
String COL,
String ROW,
String fpsMemKeyName)
\~german
Merkt sich den Wert der gegebenen Zelle in der Tabelle.
|
void |
MemorizeTooltip(String FN,
String fpsMemKeyName)
\~german
Dokumentiert den Tooltip-Text (Kurzinformation) des gegebenen Objekts.
|
void |
MemorizeValue(String FN,
String fpsMemKeyName)
\~german
Merkt sich den Standartwert eines Objekts.
|
void |
Select(String FN,
String Val)
\~german
Auswahl aller Zeilen einer Liste/Tabelle, welche die gegebenen Daten enthalten.
|
void |
SelectChild(String FN)
\~german
Setzt den Wert von SELECTEDCHILD auf den Wert von FN.
|
void |
SelectMenu(String FN)
\~german
Wählt den gegebenen Menü-Eintrag aus
_Beispiel: Wähle Menüeintrag mit Namen "MeinMenü":_
\verbatim Wähle Aus Menü: "MeinMenü" \endverbatim |
void |
SelectMenu(String FN,
String Val)
\~german
Wählt den gegebenen Menüeintrag aus.
|
void |
SelectTablecell(String FN,
String COL,
String ROW)
\~german
Wählt die gegebene Tabellenzelle aus.
|
void |
SelectWindow(String FN)
\~german
Setzt den Kontext auf das gegebene Fenster.
|
void |
Sequence(String FN,
String fpsSequenceName,
String SEQ_ID)
\~german
Ruft die Sequenz eines Fensters auf.
|
void |
SetFocus(String FN)
\~german
Setzt den Fokus auf das gegebene Fensterobjekt.
|
void |
setLanguage(String Language)
\~german
Interne Methode zum setzen der Sprache für die sprachabhängigen Ausgaben der Dokumentation (Log).
|
void |
SetValue(String FN,
String Val)
\~german
Setzt den Wert des gegebenen Fensterobjekts auf den gegebenen Wert.
|
void |
StartApp(String fpsApplicationName)
\~german
Startet die gegebene Anwendung.
|
void |
StopApp(String fpsApplicationName)
\~german
Beendet eine gegebene Anwendung.
|
void |
TypeKey(String FN,
String Val)
\~german
Tastatureingaben von Daten in das aktive Fensterobjekt.
|
void |
TypeKeyTablecell(String FN,
String COL,
String ROW,
String Val)
\~german
Eingabe von Daten in eine gegebene Tabellenzelle über die Tastatur.
|
void |
TypeKeyWindow(String FN,
String Val)
\~german
|
void |
VerifyCaption(String FN,
String ExpVal)
\~german
Überprüft die Überschrift des Objektes.
|
void |
VerifyCaptionREGX(String FN,
String ExpVal)
\~german
Überprüft die Überschrift des Objektes.
|
void |
VerifyCaptionWCM(String FN,
String ExpVal)
\~german
Überprüft die Überschrift des Objektes.
|
void |
VerifyDirectoryExists(String fpsPath,
String ExpVal)
\~german
Prüft, ob das gegebene Verzeichnis existiert.
|
void |
VerifyExists(String FN,
String ExpVal)
\~german
Prüft, ob das gegebene Objekt existiert.
|
void |
VerifyFileExists(String fpsPathAndFileName,
String ExpVal)
\~german
Prüft, ob die gegebene Datei existiert.
|
void |
VerifyHasFocus(String FN,
String ExpVal)
\~german
Vergleicht den Fokus-Zustand des gegebenen Objekts mit dem erwarteten Wert.
|
void |
VerifyIsActive(String FN,
String ExpVal)
\~german
Vergleicht den Fokus-Status des gegebenen Objekts mit dem erwarteten Wert.
|
void |
VerifyLabel(String FN,
String ExpVal)
\~german
Überprüft die Beschreibung des Objektes.
|
void |
VerifyLabelREGX(String FN,
String ExpVal)
\~german
Überprüft die Überschrift des Objektes.
|
void |
VerifyLabelWCM(String FN,
String ExpVal)
\~german
Überprüft die Beschreibung/Label des Objektes.
|
void |
VerifyMaxLength(String FN,
String ExpVal)
\~german
Checks the maximum number of characters that can be entered.
|
void |
VerifyPlaceholder(String FN,
String ExpVal)
\~german
Überprüft den Platzhalter des Objektes.
|
void |
VerifyPlaceholderREGX(String FN,
String ExpVal)
\~german
Überprüft den Platzhalter des Objektes.
|
void |
VerifyPlaceholderWCM(String FN,
String ExpVal)
\~german
Überprüft den Platzhalter des Objektes.
|
void |
VerifySelectedValue(String FN,
String ExpVal)
\~german
Vergleicht den ausgewählten Wert des gegebenen Listenobjekts mit dem erwarteten Wert.
|
void |
VerifySelectedValueREGX(String FN,
String ExpVal) |
void |
VerifySelectedValueWCM(String FN,
String ExpVal) |
void |
VerifyTablecellValue(String FN,
String COL,
String ROW,
String ExpVal)
\~german
Vergleicht den Inhalt der gegebenen Tabellenzelle mit dem erwarteten Wert.
|
void |
VerifyTablecellValueREGX(String FN,
String COL,
String ROW,
String ExpVal)
\~german
Vergleicht den Inhalt der gegebenen Tabellenzelle mit dem erwarteten Wert.
|
void |
VerifyTablecellValueWCM(String FN,
String COL,
String ROW,
String ExpVal)
\~german
Vergleicht den Inhalt der gegebenen Tabellenzelle mit dem erwarteten Wert.
|
void |
VerifyTooltip(String FN,
String ExpVal)
\~german
Prüft den Tooltip-Text eines Objektes.
|
void |
VerifyTooltipREGX(String FN,
String ExpVal)
\~german
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyTooltipWCM(String FN,
String ExpVal)
\~german
Prüft den Tooltip-Text eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValue(String FN,
String ExpVal)
\~german
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValueREGX(String FN,
String ExpVal)
\~german
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValueWCM(String FN,
String ExpVal)
\~german
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void BeginTest(String fpsTestname) throws Exception
fpsTestname - Name oder Bezeichnung des Testfalls.
\~english
Begins a test.
Description of the allgorithm
\note Keyword initalisfpsTestname - No explanation available
\~Exceptionvoid ClickOn(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_FN - Functional name of the object
_Example: Click on "My Object":_
\verbatim click on: "MyObject" \endverbatimFN - Functional name of the object
\~Exceptionvoid DoubleClickOn(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Clicks on given object.
_Example: Click on the object with the name "My Object":_FN - Functional Name of the object
\~Exceptionvoid EndTest()
throws Exception
Exceptionvoid LogCaption(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
No description for "LogCaption" availableFN - Functional name of the object
\~Exceptionvoid LogExists(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs whether the given object is existing.
_Example: Logs whether the object with the name "My Object" is existing:_FN - Functional name of the object
\~Exceptionvoid LogHasFocus(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs the focus status of the given object.
_Example: Logs the focus status of "My Object":_FN - Functional name of the object
\~Exceptionvoid LogIsActive(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs the status of the given object.
_Example: Logs the active status of "My Object":_FN - Functional name of the object
\~Exceptionvoid LogLabel(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Displays the value of the label in the log file.FN - Functional name of the object
\~Exceptionvoid LogPlaceholder(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Displays the value of the placeholder in the log file.FN - Functional name of the object
\~Exceptionvoid LogSelected(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs the marked text of the given object.FN - Functional name of the object
\~Exceptionvoid LogTablecellValue(String FN, String COL, String ROW) throws Exception
FN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Logs the value of the selected tablecell.FN - Functional name of the objectCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.
\~Exceptionvoid LogTooltip(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs the Tooltip of the given object.
_Example: Logs the tooltip text of "My Object":_FN - Functional name of the object
\~Exceptionvoid LogValue(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Logs the standard value of an object.
The standard value of the object (in most cases the visible text) is detected
and returned in the actual log-fileFN - Functional name of the object
\~Exceptionvoid MemorizeCaption(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeCaptione" availableFN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeExists(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
\brief
Memorizes the actual existing Status of the object.
The value is stored under the key returned as parameter.FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeHasFocus(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeHasFocus" availableFN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeIsActive(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Memorizes the state of the given object.
The value is stored under the key which is given as parameter.FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeLabel(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Speaks the current value of the label and stores it under fpsMemKeyName.FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizePlaceholder(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Saves the current value of the label, and saves it under fpsMemKeyName.FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeSelectedValue(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
No description for "MemorizeSelectedValue" availableFN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeTablecellValue(String FN, String COL, String ROW, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des SchlüsselsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Memorizes the value of the given tablecell.FN - Functional name of the objectfpsMemKeyName - Name of the keyCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.
\~Exceptionvoid MemorizeTooltip(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Logs the tooltip-text of the given object.
_Example logs the tooltip text of the given object "my object"_FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeValue(String FN, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
Memorizes the standard value of an object.
The standard value of the object -mostly this is the displayed text- is picked out
and stored under the internal given key. The value can read out with the keyword XXXXX after it.FN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid Select(String FN, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Select all rows in a list/chart, which contain the given data.
Chart columns are merged row by row to process lists and charts identical.
The first row which contains the given data will be selected. The row is selected by a single click.
The delivery of an additional parameter "Doubleclick" leads to the use of a doubleclick.
The {HSEP}-constant can be used, if defined values in multiple columns are required.FN - Functional name of the objectVal - Resulting value
\~Exceptionvoid SelectMenu(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ FN - Functional name of the object
\~Exceptionvoid SelectMenu(String FN, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ FN - Functional name of the objectVal - Resulting value
\~Exceptionvoid SelectTablecell(String FN, String COL, String ROW) throws Exception
FN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Selects the given table cell.
The column and row positions are always entered as strings.
If such a parameter is starting with a hash (#) the String is interpreted as an index number, e.g. "#1").
If a hash sign should be interpreted as text it must signed with a backslash,
e.g. "\#1 text with leading number").
The header row is addressed with the index "0". The first data row starts with the index 1.
For tables with multiline headers the offset to the first data row can be set
The column index starts with the number 1.FN - Functional name of the objectCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.
\~Exceptionvoid SelectWindow(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Setting the context for the given window and ensuring that the window
is active and in the foreground.
_Example: Select window with name "MyWindow":_ FN - Functionalname of the object
\~Exceptionvoid SelectChild(String FN) throws Exception
FN - Funktionaler Name des KindObjektes
\~english
Sets the value of SELECTEDCHILD to the value of FN.
In the following OpeKeywords this value can be retrieved or referenced with "SELECTEDCHILD".
_Example:_ Selection of the child object with the name "MyChildObject".FN - Functional Name of the object
\~Exceptionvoid Sequence(String FN, String fpsSequenceName, String SEQ_ID) throws Exception
FN - Funktionaler Name des Fensterobjekts, in der die Sequenz definiert ist.fpsSequenceName - Name der Sequenz, die aufgerufen werden soll.SEQ_ID - Sequenz ID des Datensatzes, die als Eingabe verwendet werden soll.
\~english
Calls the sequence of the window.
Sequences are defined per window and have a unique sequence name within the window.
Entered records are referenced with the sequence ID.
_Example: Calling the sequence _Login_ of the window _Login_ with the record _Administrator_:_ FN - Functional name of the objectfpsSequenceName - No explanation availableSEQ_ID - No explanation available
\~Exceptionvoid SetFocus(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
Setting the focus to the given window object.FN - Functional name of the object
\~Exceptionvoid setLanguage(String Language)
Language - Sprache die ausgewählt werden soll, z.B. mit "de"
\~english
Internal method to set the language of the language depending outputs of the log documentation.
The choosable languages are defined in OKWLanguage::cvLsLanguagesImplemented
and are prooved with this list.Language - Select "en"
\~void SetValue(String FN, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Setting the value of the given window object to the given value.
The input is not working with the simulation of single keyboard inputs,
but with High-Level Setter-Methods of the objects:FN - Functional name of the objectVal - Resulting value
\~Exceptionvoid StartApp(String fpsApplicationName) throws Exception
fpsApplicationName - Der fachliche Name der Anwendung.
\~english
Starts the given application.
_Example: Order to start the application "InternetExplorer":_ fpsApplicationName - No explanation available
\~Exceptionvoid StopApp(String fpsApplicationName) throws Exception
fpsApplicationName - Derf achliche Name der Anwendung
\~english
\brief
Ends a given application.
_Example: Order to start the application "InternetExplorer":_ fpsApplicationName - The technical name of the application
\~Exceptionvoid TypeKey(String FN, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
Keyboard inputs of data in the active windows object.
The data are sent as keyboard inputs to the child object of the active window.
This enables the use of hot keys and function keys as input data.
If with help of the valueseparator (SEP) multiple values are passed in the parameter,
then all values are sent as keyboard input to the window object, separated by a line break.
__Example: "Simple Input":__FN - Functional name of the objectVal - Resulting value
\~Exceptionvoid TypeKeyTablecell(String FN, String COL, String ROW, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender WertROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.COL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.
\~english
Input of date to a given tablecell by the keyboard.
The data are sent as keyboard inputs to the given tablecell.
This ensures the use of hotkeys and functional tabs as input data.
The parameters of the row and column positions are always set as strings.
If such a parameter is starting with a hash (#) the String is interpreted as an index number, e.g. "#1").
If a hash sign should be interpreted as text it must signed with a backslash,
e.g. "\#1 text with leading number").
The header row is adressed with the index "0". The first data row starts with the index 1.
For tables with multiline headers the offset to the first data row can be set
The column index starts with the number 1.FN - Functional name of the objectVal - Resulting valueROW - Row number of cell to be selected, starting with 1.COL - Column number of cell to be selected, starting with 1.
\~Exceptionvoid TypeKeyWindow(String FN, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~englishFN - Functional name of the objectVal - Resulting value
\~Exceptionvoid VerifyCaption(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyCaptionWCM(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyCaptionREGX(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
No description for "VerifyCaption" availableFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyExists(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the existence of the given object.
_Example #1: Check if the object MyObject exists:_ FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyHasFocus(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert. Erlaubte Werte sind: "JA", "NEIN" und "IGNORIEREN".
\~english
Compares the focus status of the given object with the expected value.
_Example #1: Verify if the object MyObject has the focus:_ FN - Functional name of the objectExpVal - Expected Value. Following values are Allowed here: "YES, "NO", and "IGNORE".
\~Exceptionvoid VerifyIsActive(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert. Erlaubte Werte sind: "JA", "NEIN" und "IGNORIEREN".
\~english
Compares the focus status of the given object with the expected value.
_Example: Verify if the object MyObject is in the state "active":_ FN - Functional name of the objectExpVal - Expected Value. Following values are allowed here: "YES, "NO", and "IGNORE".
\~Exceptionvoid VerifyPlaceholder(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the placeholder of a GUI-object.
Example: Check whether the placeholder (text) of the object "MyObject" matches the expected value "Jango
\verbatim VerifyPlaceholderWCM: "MyObjekt", "Jango" \endverbatimFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyMaxLength(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert, als String Zahl
\~english
Verifies the placeholder of a GUI-object.
_Example:_ Check if max. 10 characters in the object with FN = "Name" can be inserted:
\verbatim EN.VerifyMaxLength( "Name", "10" ) \endverbatimFN - Functional name of the objectExpVal - Expected Value as String with Numbers
\~Exceptionvoid VerifyPlaceholderWCM(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the placeholder of the GUI object.
Wildcards are allowed in the expected value.
The following wildcards are supported:
* "?" - exactly one arbitrary character is masked
* "*" - (0-n) any characters are masked
* "#" - exactly one digit [0..9] can be masked
_Example: Check whether the placeholder (text) of the object "MyObject" corresponds to the expected value "*jango:_
\verbatim VerifyPlaceholderWCM: "MyObjekt", "*jango" \endverbatimFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyPlaceholderREGX(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the placeholder of the GUI object.
Regular expressions as expected values are allowed.
_Example: Check whether the placeholder (text) of the object "MyObject" corresponds to the expected value "\\.jango":_
\verbatim VerifyPlaceholderREGX: "MyObjekt", "$Django" \endverbatimFN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyLabel(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the label of a GUI-object.FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyLabelWCM(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyLabelREGX(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Verifies the Label of a GUI-object.FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifySelectedValue(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Compares the selected value of the given listobject with the expected value.
A list can be a simple list, a table or a tree-view.
Expected Values in tree-views are indicated with the whole hierarchy (see example).
With this the hierarchical elements are divided with the separator {SEP}.FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifySelectedValueWCM(String FN, String ExpVal) throws Exception
Exceptionvoid VerifySelectedValueREGX(String FN, String ExpVal) throws Exception
Exceptionvoid VerifyTablecellValue(String FN, String COL, String ROW, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.ExpVal - Erwarteter Wert
\~english
Compares the content of the given table cell with the expected value.FN - Functional name of the objectCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.ExpVal - Expected Value
\~Exceptionvoid VerifyTablecellValueWCM(String FN, String COL, String ROW, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.ExpVal - Erwarteter Wert
\~english
Compares the content of the given table cell with the expected value.FN - Functional name of the objectCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.ExpVal - Expected Value
\~Exceptionvoid VerifyTablecellValueREGX(String FN, String COL, String ROW, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsCOL - Spaltennummer der zu wählenden Zelle, beginnend mit 1.ROW - Zeilennummer der zu wählenden Zelle, beginnend mit 1.ExpVal - Erwarteter Wert
\~english
Compares the content of the given table cell with the expected value.FN - Functional name of the objectCOL - Column number of cell to be selected, starting with 1.ROW - Row number of cell to be selected, starting with 1.ExpVal - Expected Value
\~Exceptionvoid VerifyTooltip(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the tooltip-text of an object.
The expected value is exactly, i.e. without wildcards, specified.FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyTooltipREGX(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert, gegegebn als Regulärerausdruck.
\~english
Checks the tooltip-text of an object. The expected tooltip text is givan as Regularexpression.
_Example: Check if the tooltip text of object "MyObject" equals the expected tooltip text "\\.jango":_FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyTooltipWCM(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert als Wildcardmatch.
\~english
Checks the tooltip text of an object. The expected Value is givan as WildCardMatch
The following wildcards can be used:
- "?" - exactly one character is masked
- "*" - (0-n) any number of characters to be masked
- "#" - exactly one number [0..9] is masked
_Example: Check if the tooltip text of object "MyObject" equals the expected value "?jango":_FN - Functional name of the objectExpVal - Expected Value as WildCardMatch
\~Exceptionvoid VerifyValue(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the standard value of an object (in most cases this is the displayed text).
The expected value is exactly, i.e. without wildcards, specified.
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyValueREGX(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
Checks the standard value of an object (in most cases this is the displayed text). The expected Value is givan as Regularexpression
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid VerifyValueWCM(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert / Sollwert.
\~english
Checks the standard value of an object (in most cases this is the displayed text). The expected Value is givan as Regularexpression
The following wildcards can be used:
* "?" - exactly one character is masked
* "*" - (0-n) any number of characters to be masked
* "#" - exactly one number [0..9] is masked
_Example: Check if the value (text) of object "MyObject" equals the expected value "Django":_FN - Functional name of the objectExpVal - Expected Value
\~Exceptionvoid CopyFile(String fpsSourcePathAndFileName, String fpsDestinationPathAndFileName) throws Exception
fpsPathAndFileName - Vollständiger Pfad und Dateiname.
\~english
Copies the given source files to the given destination.
If the file does not exist, then this keyword ends with an error message and an exception will rais.
- OKW-Parser is included.
- widcards are in the filename allowed.fpsPathAndFileName - Full path of teh File
\~Exceptionvoid FileDelete(String fpsPathAndFileName) throws Exception
meineDatei.txt im Verzeichniss C:\temp
DE.LöscheDatei( "C:\temp\*.*" ) - Löscht alle Dateien im Verzeichniss C:\temp
\par Siehe auch
- EN::FileDelete(string)
- Core::FileDelete(string)
- OK::FileDelete(string)
- NOK::FileDelete(string)
- OK_TRY::FileDelete(string)
- NOK_TRY::FileDelete(string)
- IOKW_State::FileDelete(string)fpsPathAndFileName - Vollständiger Pfad und Dateiname.
\~english
Deletes the given file.
If the file does not exist, then this keyword ends without error message and an exception will not rais.
- OKW-Parser is included.
- widcards are in the filename allowed.fpsPathAndFileName - Full path of teh File
\~Exceptionvoid VerifyFileExists(String fpsPathAndFileName, String ExpVal) throws Exception
fpsPathAndFileName - Pfad und Name der Datei, die Geprüft werden sollExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
/exception OKWFileDoesNotExistsException
Wenn die gegeben Datei ein Verzeichniss ist, also eben keine Datei, dann wird ein OKWFileDoesNotExistsException ausgelöst.
\~englishfpsPath - Path and name of the file.ExpVal - Expected Value. ExpVal: "YES"/"NO"/"${IGNORE}"
\~Exceptionvoid VerifyDirectoryExists(String fpsPath, String ExpVal) throws Exception
fpsPathA - Pfad des Verzeichnisses, die Geprüft werden sollExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
\~englishfpsPathAndFileName - Functional name of the objectExpVal - Expected Value. ExpVal: "YES"/"NO"/"${IGNORE}"
\~ExceptionCopyright © 2019 OpenKeyWord. All rights reserved.