| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String fpsTestname)
\~german
\brief
Markiert den Anfang eines neuen Testfalls.
|
void |
ClickOn(String FN)
\~german
\brief
Klickt auf das gegebene Objekt.
|
void |
CopyFile(String fpsSourcePathAndFileName,
String fpsDestinationPathAndFileName) |
void |
DoubleClickOn(String FN)
\~german
\brief
Klickt auf das gegebene Objekt.
|
void |
EndTest()
\~german
\brief
Beendet den Test, bzw.
|
void |
FileDelete(String fpsPathAndFileName)
\~german
\brief Löscht die gegebene Datei.
|
void |
LogCaption(String FN)
\~german
\brief
Keine Beschreibung zu "LogCaption" verfügbar
|
void |
LogExists(String FN)
\~german
\brief
Protokolliert, ob das gegebene Objekt existiert.
|
void |
LogHasFocus(String FN)
\~german
\brief
Dokumentiert den Fokus-Status des gegebenen Objekts.
|
void |
LogIsActive(String FN)
\~german
\brief
Dokumentiert den Status des gegebenen Objekts.
|
void |
LogLabel(String FN)
\~german
\brief
Keine Beschreibung zu "LogLabel" verfügbar
|
void |
LogSelected(String FN)
\~german
\brief
Dokumentiert den markierten Text des gegebenen Objekts.
|
void |
LogTablecellValue(String FN,
String fpsCol,
String fpsRow)
\~german
\brief
Dokumentiert den Wert der ausgewählten Zelle.
|
void |
LogTooltip(String FN)
\~german
\brief
Dokumentiert die Kurzinfo zu einem Werkzeug des gegebenen Objekts.
|
void |
LogValue(String FN)
\~german
\brief
Dokumentiert den Standartwert eines Objekts.
|
void |
MemorizeCaption(String FN,
String fpsMemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeCaption" verfügbar
|
void |
MemorizeExists(String FN,
String fpsMemKeyName)
\~german
\brief
Merkt sich den aktuell existierenden Zustand des Objekts.
|
void |
MemorizeHasFocus(String FN,
String fpsMemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeHasFocus" verfügbar
|
void |
MemorizeIsActive(String FN,
String fpsMemKeyName)
\~german
\brief
Merkt sich den Zustand des gegebenen Objekts.
|
void |
MemorizeLabel(String FN,
String fpsMemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeLabel" verfügbar
|
void |
MemorizeSelectedValue(String FN,
String fpsMemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeSelectedValue" verfügbar
|
void |
MemorizeTablecellValue(String FN,
String fpsCol,
String fpsRow,
String fpsMemKeyName)
\~german
\brief
Merkt sich den Wert der gegebenen Zelle in der Tabelle.
|
void |
MemorizeTooltip(String FN,
String fpsMemKeyName)
\~german
\brief
Dokumentiert den Tooltip-Text (Kurzinformation) des gegebenen Objekts.
|
void |
MemorizeValue(String FN,
String fpsMemKeyName)
\~german
\brief
Merkt sich den Standartwert eines Objekts.
|
void |
Select(String FN,
String Val)
\~german
\brief
Auswahl aller Zeilen einer Liste/Tabelle, welche die gegebenen Daten enthalten.
|
void |
SelectMenu(String FN)
\~german
\brief
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
\brief
Wählt den gegebenen Menüeintrag aus.
|
void |
SelectTablecell(String FN,
String fpsCol,
String fpsRow)
\~german
\brief
Wählt die gegebene Tabellenzelle aus.
|
void |
SelectWindow(String FN)
\~german
\brief
Setzt den Kontext auf das gegebene Fenster.
|
void |
Sequence(String FN,
String fpsSequenceName,
String SEQ_ID)
\~german
\brief
Ruft die Sequenz eines Fensters auf.
|
void |
SetFocus(String FN)
\~german
\brief
Setzt den Fokus auf das gegebene Fensterobjekt.
|
void |
SetLanguage(String Language)
\~german
\brief
Interne Methode zum setzen der Sprache für die sprachabhängigen Ausgaben der Dokumentation (Log).
|
void |
SetValue(String FN,
String Val)
\~german
\brief
Setzt den Wert des gegebenen Fensterobjekts auf den gegebenen Wert.
|
void |
StartApp(String fpsApplicationName)
\~german
\brief
Startet die gegebene Anwendung.
|
void |
StopApp(String fpsApplicationName)
\~german
\brief
Beendet eine gegebene Anwendung.
|
void |
TypeKey(String FN,
String Val)
\~german
\brief
Tastatureingaben von Daten in das aktive Fensterobjekt.
|
void |
TypeKeyTablecell(String FN,
String fpsCol,
String fpsRow,
String Val)
\~german
\brief
Eingabe von Daten in eine gegebene Tabellenzelle über die Tastatur.
|
void |
TypeKeyWindow(String FN,
String Val)
\~german
\brief
Tastatureingabe in ein bestimmtes Fensterobjekt.
|
void |
VerifyCaption(String FN,
String ExpVal)
\~german
\brief
Überprüft die Überschrift des Objektes.
|
void |
VerifyCaptionREGX(String FN,
String ExpVal)
\~german
\brief
Überprüft die Überschrift des Objektes.
|
void |
VerifyCaptionWCM(String FN,
String ExpVal)
\~german
\brief
Überprüft die Überschrift des Objektes.
|
void |
VerifyDirectoryExists(String fpsPath,
String ExpVal)
\~german
\brief
Prüft, ob das gegebene Verzeichnis existiert.
|
void |
VerifyExists(String FN,
String ExpVal)
\~german
\brief
Prüft, ob das gegebene Objekt existiert.
_Beispiel 1: Prüfe, ob das Objekt "MeinObjekt" existiert:_ \verbatim Prüfe Existiert: "MeinObjekt", "JA" \endverbatim _Beispiel 2: Prüfe, ob das Objekt "MeinObjekt" nicht existiert: \verbatim Prüfe Existiert: "MeinObjekt", "NEIN" \endverbatim |
void |
VerifyFileExists(String fpsPathAndFileName,
String ExpVal)
\~german
\brief
Prüft, ob die gegebene Datei existiert.
|
void |
VerifyHasFocus(String FN,
String ExpVal)
\~german
\brief
Vergleicht den Fokus-Zustand des gegebenen Objekts mit dem erwarteten Wert.
|
void |
VerifyIsActive(String FN,
String ExpVal)
\~german
\brief
Vergleicht den Fokus-Status des gegebenen Objekts mit dem erwarteten Wert.
|
void |
VerifyLabel(String FN,
String ExpVal)
\~german
\brief
Überprüft die Beschreibung des Objektes.
|
void |
VerifyLabelREGX(String FN,
String ExpVal)
\~german
\brief
Überprüft die Überschrift des Objektes.
|
void |
VerifyLabelWCM(String FN,
String ExpVal)
\~german
\brief
Überprüft die Beschreibung des Objektes.
|
void |
VerifySelectedValue(String FN,
String ExpVal)
\~german
\brief
Vergleicht den ausgewählten Wert des gegebenen Listenobjekts mit dem erwarteten Wert.
|
void |
VerifyTablecellValue(String FN,
String fpsCol,
String fpsRow,
String ExpVal)
\~german
\brief
Vergleicht den Inhalt der gegebenen Tabellenzeile mit dem erwarteten Wert.
|
void |
VerifyTooltip(String FN,
String ExpVal)
\~german
\brief
Prüft den Tooltip-Text eines Objektes.
|
void |
VerifyTooltipREGX(String FN,
String ExpVal)
\~german
\brief
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyTooltipWCM(String FN,
String ExpVal)
\~german
\brief
Prüft den Tooltip-Text eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValue(String FN,
String ExpVal)
\~german
\brief
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValueREGX(String FN,
String ExpVal)
\~german
\brief
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
void |
VerifyValueWCM(String FN,
String ExpVal)
\~german
\brief
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
\brief
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
\brief
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" \endverbatimExceptionvoid DoubleClickOn(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
\brief
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
\brief
No description for "LogCaption" availableFN - Functional name of the object
\~Exceptionvoid LogExists(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
\brief
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
\brief
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
\brief
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
\brief
No description for "LogLabel" availableFN - Functional name of the object
\~Exceptionvoid LogSelected(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
\brief
Logs the marked text of the given object.FN - Functional name of the object
\~Exceptionvoid LogTablecellValue(String FN, String fpsCol, String fpsRow) throws Exception
FN - Funktionaler Name des ObjektsfpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.fpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Logs the value of the selected tablecell.FN - Functional name of the objectfpsCol - Column number of cell to be selected, starting with 1.fpsRow - Row number of cell to be selected, starting with 1.
\~Exceptionvoid LogTooltip(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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
\brief
No description for "MemorizeLabel" availableFN - 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
\brief
No description for "MemorizeSelectedValue" availableFN - Functional name of the objectfpsMemKeyName - Name of the key
\~Exceptionvoid MemorizeTablecellValue(String FN, String fpsCol, String fpsRow, String fpsMemKeyName) throws Exception
FN - Funktionaler Name des ObjektsfpsMemKeyName - Name des SchlüsselsfpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.fpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Memorizes the value of the given tablecell.FN - Functional name of the objectfpsMemKeyName - Name of the keyfpsCol - Column number of cell to be selected, starting with 1.fpsRow - 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
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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 fpsCol, String fpsRow) throws Exception
FN - Funktionaler Name des ObjektsfpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.fpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
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 objectfpsCol - Column number of cell to be selected, starting with 1.fpsRow - Row number of cell to be selected, starting with 1.
\~Exceptionvoid SelectWindow(String FN) throws Exception
FN - Funktionaler Name des Objekts
\~english
\brief
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 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
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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 fpsCol, String fpsRow, String Val) throws Exception
FN - Funktionaler Name des ObjektsVal - Sich ergebender WertfpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.fpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
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 valuefpsRow - Row number of cell to be selected, starting with 1.fpsCol - 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
\~english
\brief
Keyboard input to a particular window object.
The data will be sent as keyboard inputs to the window object.
This ensures the use of hotkeys an functional keys as input data.
Multiple values can be given as input by help of the constant {SEP} (see examples).
The values are divided with tabstops with the input.FN - Functional name of the objectVal - Resulting value
\~Exceptionvoid VerifyCaption(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
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
\brief
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
\brief
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
\brief
Checks the existence of the given object.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
\brief
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
\brief
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 VerifyLabel(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
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
\brief
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
\brief
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
\brief
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 VerifyTablecellValue(String FN, String fpsCol, String fpsRow, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter WertfpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.fpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Compares the content of the given table cell with the expected value.FN - Functional name of the objectExpVal - Expected ValuefpsRow - Row number of cell to be selected, starting with 1.fpsCol - Column number of cell to be selected, starting with 1.
\~Exceptionvoid VerifyTooltip(String FN, String ExpVal) throws Exception
FN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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
\brief
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
Exceptionvoid FileDelete(String fpsPathAndFileName) throws Exception
${umgebungsvariable}, ${merkewertschlüssel}.
- im Dateinamen sind Wildcards * + ? erlaubt.
\note
Dieses Schlüsselwort stellt sicher, dass _nach_ der Ausführung die angegebene Datei oder Dateien nicht (mehr) existiert/existieren.
Falls die gegebene Datei _nicht_ existiert, dann wird _ohne Fehlermeldung_ und auslösen einer Ausnahme
das Schlüsselwort beendet.
\par Beispiel
DE.LöscheDatei( "C:\temp\meineDatei.txt" ) - Löscht die Datei meineDatei.txt im Verzeichniss C:\temp
DE.LöscheDatei( "C:\temp\*.*" ) - Löscht alle Dateien im Verzeichniss C:\temp
\par Siehe auch
- DE::LöscheDatei(string)
- 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
\brief 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.
\~english
\brieffpsPath - 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}"
\~english
\brieffpsPathAndFileName - Functional name of the objectExpVal - Expected Value. ExpVal: "YES"/"NO"/"${IGNORE}"
\~ExceptionCopyright © 2017 OpenKeyWord. All rights reserved.