public class Core extends Object implements IOKW_State
| Constructor and Description |
|---|
Core() |
| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String Testname)
\~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.
|
static void |
Init() |
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 Val)
\~german
\brief
Keine Beschreibung zu "MemorizeCaption" verfügbar
|
void |
MemorizeExists(String FN,
String Val)
\~german
\brief
Merkt sich den aktuell existierenden Zustand des Objekts.
|
void |
MemorizeHasFocus(String FN,
String Val)
\~german
\brief
Keine Beschreibung zu "MemorizeHasFocus" verfügbar
|
void |
MemorizeIsActive(String FN,
String Val)
\~german
\brief
Merkt sich den Zustand des gegebenen Objekts.
|
void |
MemorizeLabel(String FN,
String Val)
\~german
\brief
Keine Beschreibung zu "MemorizeLabel" verfügbar
|
void |
MemorizeSelectedValue(String FN,
String Val)
\~german
\brief
Keine Beschreibung zu "MemorizeSelectedValue" verfügbar
|
void |
MemorizeTablecellValue(String FN,
String fpsCol,
String fpsRow,
String fpsKeyName)
\~german
\brief
Merkt sich den Wert der gegebenen Zelle in der Tabelle.
|
void |
MemorizeTooltip(String FN,
String Val)
\~german
\brief
Dokumentiert den Tooltip-Text (Kurzinformation) des gegebenen Objekts.
|
void |
MemorizeValue(String FN,
String Val)
\~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)
\copydoc IOKW_State::SelectMenu(String)
|
void |
SelectMenu(String FN,
String Val)
\copydoc IOKW_State::SelectMenu(String,String)
|
void |
SelectTablecell(String FN,
String fpsCol,
String fpsRow)
\copydoc IOKW_State::SelectTablecell(String,String,String)
|
void |
SelectWindow(String FN)
\copydoc IOKW_State::SelectWindow(String)
|
void |
Sequence(String FN,
String fpsSequenName,
String SEQID)
\copydoc IOKW_State::Sequence(String,String,String)
|
void |
SetCurrentState(IOKW_State fp_CurrentState)
\~german
\brief Setter zum Setzen des aktuellen Zustandes.
|
void |
SetFocus(String FN)
\copydoc IOKW_State::SetFocus(String)
|
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)
\copydoc IOKW_State::SetValue(String,String)
|
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)
\copydoc IOKW_State::VerifyCaption(String,String)
|
void |
VerifyCaptionREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyCaptionREGX(String,String)
|
void |
VerifyCaptionWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyCaptionWCM(String,String)
|
void |
VerifyDirectoryExists(String fpsPathAndFileName,
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)
\copydoc IOKW_State::VerifyLabel(String,String)
|
void |
VerifyLabelREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyLabelREGX(String,String)
|
void |
VerifyLabelWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyLabelWCM(String,String)
|
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)
\copydoc IOKW_State::VerifyTooltip(String,String)
|
void |
VerifyTooltipREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyTooltipREGX(String,String)
|
void |
VerifyTooltipWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyTooltipWCM(String,String)
|
void |
VerifyValue(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValue(String,String)
|
void |
VerifyValueREGX(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValueREGX(String,String)
|
void |
VerifyValueWCM(String FN,
String ExpVal)
\copydoc IOKW_State::VerifyValueWCM(String,String)
|
public static void Init()
public void BeginTest(String Testname) throws Exception
IOKW_StateBeginTest in interface IOKW_StateTestname - Name oder Bezeichnung des Testfalls.
\~english
\brief
Begins a test.
Description of the allgorithm
\note Keyword initalisExceptionpublic void ClickOn(String FN) throws Exception
IOKW_StateClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Clicks on given object.
_Example: Click on the object with the name "My Object":_Exceptionpublic void DoubleClickOn(String FN) throws Exception
IOKW_StateDoubleClickOn in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Clicks on given object.
_Example: Click on the object with the name "My Object":_Exceptionpublic void EndTest()
throws Exception
IOKW_StateEndTest in interface IOKW_StateExceptionpublic void LogExists(String FN) throws Exception
IOKW_StateLogExists in interface IOKW_StateFN - 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:_Exceptionpublic void LogHasFocus(String FN) throws Exception
IOKW_StateLogHasFocus in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Logs the focus status of the given object.
_Example: Logs the focus status of "My Object":_Exceptionpublic void LogIsActive(String FN) throws Exception
IOKW_StateLogIsActive in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Logs the status of the given object.
_Example: Logs the active status of "My Object":_Exceptionpublic void LogSelected(String FN) throws Exception
IOKW_StateLogSelected in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Logs the marked text of the given object.Exceptionpublic void LogTablecellValue(String FN, String fpsCol, String fpsRow) throws Exception
IOKW_StateLogTablecellValue in interface IOKW_StateFN - 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.Exceptionpublic void LogTooltip(String FN) throws Exception
IOKW_StateLogTooltip in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Logs the Tooltip of the given object.
_Example: Logs the tooltip text of "My Object":_Exceptionpublic void LogCaption(String FN) throws Exception
IOKW_StateLogCaption in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
No description for "LogCaption" availableExceptionpublic void LogLabel(String FN) throws Exception
IOKW_StateLogLabel in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
No description for "LogLabel" availableExceptionpublic void LogValue(String FN) throws Exception
IOKW_StateLogValue in interface IOKW_StateFN - 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-fileExceptionpublic void MemorizeExists(String FN, String Val) throws Exception
IOKW_StateMemorizeExists in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
Memorizes the actual existing Status of the object.
The value is stored under the key returned as parameter.Exceptionpublic void MemorizeHasFocus(String FN, String Val) throws Exception
IOKW_StateMemorizeHasFocus in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
No description for "MemorizeHasFocus" availableExceptionpublic void MemorizeIsActive(String FN, String Val) throws Exception
IOKW_StateMemorizeIsActive in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - 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.Exceptionpublic void MemorizeSelectedValue(String FN, String Val) throws Exception
IOKW_StateMemorizeSelectedValue in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
No description for "MemorizeSelectedValue" availableExceptionpublic void MemorizeTablecellValue(String FN, String fpsCol, String fpsRow, String fpsKeyName) throws Exception
IOKW_StateMemorizeTablecellValue in interface IOKW_StateFN - 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
Memorizes the value of the given tablecell.fpsKeyName - Name des SchlüsselsExceptionpublic void MemorizeTooltip(String FN, String Val) throws Exception
IOKW_StateMemorizeTooltip in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - 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"_Exceptionpublic void MemorizeLabel(String FN, String Val) throws Exception
IOKW_StateMemorizeLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
No description for "MemorizeLabel" availableExceptionpublic void MemorizeCaption(String FN, String Val) throws Exception
IOKW_StateMemorizeCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Name des Schlüssels
\~english
\brief
No description for "MemorizeCaptione" availableExceptionpublic void MemorizeValue(String FN, String Val) throws Exception
IOKW_StateMemorizeValue in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - 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.Exceptionpublic void Select(String FN, String Val) throws Exception
IOKW_StateSelect in interface IOKW_StateFN - 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.Exceptionpublic void SelectMenu(String FN) throws Exception
SelectMenu in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ Exceptionpublic void SelectMenu(String FN, String Val) throws Exception
SelectMenu in interface IOKW_StateFN - Funktionaler Name des ObjektsVal - Sich ergebender Wert
\~english
\brief
Selects the given menu item.
_Example Select menu item with name "MyMenu":_ Exceptionpublic void SelectTablecell(String FN, String fpsCol, String fpsRow) throws Exception
SelectTablecell in interface IOKW_StateFN - 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.Exceptionpublic void SelectWindow(String FN) throws Exception
SelectWindow in interface IOKW_StateFN - 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":_ Exceptionpublic void Sequence(String FN, String fpsSequenName, String SEQID) throws Exception
Sequence in interface IOKW_StateFN - Funktionaler Name des Fensterobjekts, in der die Sequenz definiert ist.fpsSequenName - Name der Sequenz, die aufgerufen werden soll.SEQID - 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_:_ Exceptionpublic void SetCurrentState(IOKW_State fp_CurrentState)
public void SetFocus(String FN) throws Exception
SetFocus in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
Setting the focus to the given window object.Exceptionpublic void SetLanguage(String Language)
IOKW_StateSetLanguage in interface IOKW_StateLanguage - 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.public void SetValue(String FN, String Val) throws Exception
SetValue in interface IOKW_StateFN - 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:Exceptionpublic void StartApp(String fpsApplicationName) throws Exception
IOKW_StateStartApp in interface IOKW_StatefpsApplicationName - Der fachliche Name der Anwendung.
\~english
\brief
Starts the given application.
_Example: Order to start the application "InternetExplorer":_ Exceptionpublic void StopApp(String fpsApplicationName) throws Exception
IOKW_StateStopApp in interface IOKW_StatefpsApplicationName - Derf achliche Name der Anwendung
\~english
\brief
Ends a given application.
_Example: Order to start the application "InternetExplorer":_ Exceptionpublic void TypeKey(String FN, String Val) throws Exception
IOKW_StateTypeKey in interface IOKW_StateFN - 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":__Exceptionpublic void TypeKeyTablecell(String FN, String fpsCol, String fpsRow, String Val) throws Exception
IOKW_StateTypeKeyTablecell in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsCol - 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.fpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.Val - Sich ergebender WertExceptionpublic void TypeKeyWindow(String FN, String Val) throws Exception
IOKW_StateTypeKeyWindow in interface IOKW_StateFN - 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.Exceptionpublic void VerifyExists(String FN, String ExpVal) throws Exception
IOKW_StateVerifyExists in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
Checks the existence of the given object.Exceptionpublic void VerifyHasFocus(String FN, String ExpVal) throws Exception
IOKW_StateVerifyHasFocus in interface IOKW_StateFN - 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:_ Exceptionpublic void VerifyIsActive(String FN, String ExpVal) throws Exception
IOKW_StateVerifyIsActive in interface IOKW_StateFN - 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":_ Exceptionpublic void VerifySelectedValue(String FN, String ExpVal) throws Exception
IOKW_StateVerifySelectedValue in interface IOKW_StateFN - 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}.Exceptionpublic void VerifyTablecellValue(String FN, String fpsCol, String fpsRow, String ExpVal) throws Exception
IOKW_StateVerifyTablecellValue in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsCol - Spaltennummer der zu wählenden Zelle, beginnend mit 1.
\~english
\brief
Compares the content of the given table cell with the expected value.fpsRow - Zeilennummer der zu wählenden Zelle, beginnend mit 1.ExpVal - Erwarteter WertExceptionpublic void VerifyTooltip(String FN, String ExpVal) throws Exception
VerifyTooltip in interface IOKW_StateFN - 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.Exceptionpublic void VerifyTooltipREGX(String FN, String ExpVal) throws Exception
VerifyTooltipREGX in interface IOKW_StateFN - 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":_Exceptionpublic void VerifyTooltipWCM(String FN, String ExpVal) throws Exception
VerifyTooltipWCM in interface IOKW_StateFN - 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":_Exceptionpublic void VerifyCaption(String FN, String ExpVal) throws Exception
VerifyCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
No description for "VerifyCaption" availableExceptionpublic void VerifyCaptionWCM(String FN, String ExpVal) throws Exception
VerifyCaptionWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
No description for "VerifyCaption" availableExceptionpublic void VerifyCaptionREGX(String FN, String ExpVal) throws Exception
VerifyCaptionREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
No description for "VerifyCaption" availableExceptionpublic void VerifyLabel(String FN, String ExpVal) throws Exception
VerifyLabel in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
Verifies the Label of a GUI-object.Exceptionpublic void VerifyLabelWCM(String FN, String ExpVal) throws Exception
VerifyLabelWCM in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
Verifies the Label of a GUI-object.Exceptionpublic void VerifyLabelREGX(String FN, String ExpVal) throws Exception
VerifyLabelREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
Verifies the Label of a GUI-object.Exceptionpublic void VerifyValue(String FN, String ExpVal) throws Exception
VerifyValue in interface IOKW_StateFN - 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":_Exceptionpublic void VerifyValueREGX(String FN, String ExpVal) throws Exception
VerifyValueREGX in interface IOKW_StateFN - 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":_Exceptionpublic void VerifyValueWCM(String FN, String ExpVal) throws Exception
VerifyValueWCM in interface IOKW_StateFN - 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":_Exceptionpublic void FileDelete(String fpsPathAndFileName) throws Exception
IOKW_State${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)FileDelete in interface IOKW_StatefpsPathAndFileName - 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.Exceptionpublic void VerifyFileExists(String fpsPathAndFileName, String ExpVal) throws Exception
IOKW_StateVerifyFileExists in interface IOKW_StatefpsPathAndFileName - 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
\briefExceptionpublic void VerifyDirectoryExists(String fpsPathAndFileName, String ExpVal) throws Exception
IOKW_StateVerifyDirectoryExists in interface IOKW_StateExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
\~english
\briefExceptionCopyright © 2016 OpenKeyWord. All rights reserved.