public class OK extends Object implements IOKW_State
| Modifier and Type | Method and Description |
|---|---|
void |
BeginTest(String fpsTestname)
\copydoc IOKW_State::BeginTest()
|
void |
ClickOn(String FN)
\~german
\brief
Klickt auf das gegebene Objekt.
|
void |
CopyFile(String fpsSourcePathAndFileName,
String fpsDestinationPathAndFileName) |
void |
DoubleClickOn(String FN)
\copydoc IOKW_State::DoubleClickOn(String)
|
void |
EndTest()
\copydoc IOKW_State::EndTest()
|
void |
FileDelete(String fpsPathAndFileName)
\copydoc IOKW_State::FileDelete(String)
|
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)
\copydoc IOKW_State::LogHasFocus(String)
|
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)
\copydoc IOKW_State::LogTablecellValue(String,String,String)
|
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 fps_MemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeHasFocus" verfügbar
|
void |
MemorizeIsActive(String FN,
String fps_MemKeyName)
\~german
\brief
Merkt sich den Zustand des gegebenen Objekts.
|
void |
MemorizeLabel(String FN,
String fps_MemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeLabel" verfügbar
|
void |
MemorizeSelectedValue(String FN,
String fps_MemKeyName)
\~german
\brief
Keine Beschreibung zu "MemorizeSelectedValue" verfügbar
|
void |
MemorizeTablecellValue(String FN,
String fpsCol,
String fpsRow,
String fps_MemKeyName)
\~german
\brief
Merkt sich den Wert der gegebenen Zelle in der Tabelle.
|
void |
MemorizeTooltip(String FN,
String fps_MemKeyName)
\~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)
\copydoc IOKW_State::SelectMenu(String)
|
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 SEQ_Name,
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 AppName)
\~german
\brief
Startet die gegebene Anwendung.
|
void |
StopApp(String AppName)
\~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)
\copydoc IOKW_State::VerifyValue(String,String)
|
void |
VerifyValueREGX(String FN,
String ExpVal)
_Wichtig:_ Ein "EMPTY"-Wert ist ein ArrayList String welche keine Array-Elemte enthält, also ArrayList.Size() = 0!
\~
\copydoc IOKW_State::VerifyValueREGX(String,String)
|
void |
VerifyValueWCM(String FN,
String ExpVal)
\~german
\brief
Prüft den Standardwert eines Objektes (in den meisten Fällen ist dies der angezeigte Text).
|
public OK(Core fp_OKW)
public void BeginTest(String fpsTestname) throws XPathExpressionException
BeginTest in interface IOKW_StatefpsTestname - Name oder Bezeichnung des Testfalls.
\~english
\brief
Begins a test.
Description of the allgorithm
\note Keyword initalisXPathExpressionExceptionpublic 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
DoubleClickOn 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()
EndTest in interface IOKW_Statepublic void LogCaption(String FN) throws Exception
IOKW_StateLogCaption in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
No description for "LogCaption" availableExceptionpublic 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
LogHasFocus 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 LogLabel(String FN) throws Exception
IOKW_StateLogLabel in interface IOKW_StateFN - Funktionaler Name des Objekts
\~english
\brief
No description for "LogLabel" availableExceptionpublic 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
LogTablecellValue 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 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 MemorizeCaption(String FN, String fpsMemKeyName) throws Exception
IOKW_StateMemorizeCaption in interface IOKW_StateFN - Funktionaler Name des ObjektsfpsMemKeyName - Name des Schlüssels
\~english
\brief
No description for "MemorizeCaptione" availableExceptionpublic void MemorizeExists(String FN, String fpsMemKeyName) throws Exception
IOKW_StateMemorizeExists in interface IOKW_StateFN - 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.Exceptionpublic void MemorizeHasFocus(String FN, String fps_MemKeyName) throws Exception
IOKW_StateMemorizeHasFocus in interface IOKW_StateFN - Funktionaler Name des Objektsfps_MemKeyName - Name des Schlüssels
\~english
\brief
No description for "MemorizeHasFocus" availableExceptionpublic void MemorizeIsActive(String FN, String fps_MemKeyName) throws Exception
IOKW_StateMemorizeIsActive in interface IOKW_StateFN - Funktionaler Name des Objektsfps_MemKeyName - 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 MemorizeLabel(String FN, String fps_MemKeyName) throws Exception
IOKW_StateMemorizeLabel in interface IOKW_StateFN - Funktionaler Name des Objektsfps_MemKeyName - Name des Schlüssels
\~english
\brief
No description for "MemorizeLabel" availableExceptionpublic void MemorizeSelectedValue(String FN, String fps_MemKeyName) throws Exception
IOKW_StateMemorizeSelectedValue in interface IOKW_StateFN - Funktionaler Name des Objektsfps_MemKeyName - Name des Schlüssels
\~english
\brief
No description for "MemorizeSelectedValue" availableExceptionpublic void MemorizeTablecellValue(String FN, String fpsCol, String fpsRow, String fps_MemKeyName) 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.fps_MemKeyName - Name des SchlüsselsExceptionpublic void MemorizeTooltip(String FN, String fps_MemKeyName) throws Exception
IOKW_StateMemorizeTooltip in interface IOKW_StateFN - Funktionaler Name des Objektsfps_MemKeyName - 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 MemorizeValue(String FN, String fpsMemKeyName) throws Exception
IOKW_StateMemorizeValue in interface IOKW_StateFN - 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.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
IOKW_StateSelectMenu 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
IOKW_StateSelectTablecell 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
IOKW_StateSelectWindow 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 SEQ_Name, String SEQ_ID) throws Exception
IOKW_StateSequence in interface IOKW_StateFN - Funktionaler Name des Fensterobjekts, in der die Sequenz definiert ist.SEQ_Name - 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_:_ Exceptionpublic void SetFocus(String FN) throws Exception
IOKW_StateSetFocus 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
IOKW_StateSetValue 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 AppName) throws Exception
IOKW_StateStartApp in interface IOKW_StateAppName - Der fachliche Name der Anwendung.
\~english
\brief
Starts the given application.
_Example: Order to start the application "InternetExplorer":_ Exceptionpublic void StopApp(String AppName) throws Exception
IOKW_StateStopApp in interface IOKW_StateAppName - 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 VerifyLabel(String FN, String ExpVal) throws Exception
IOKW_StateVerifyLabel 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
IOKW_StateVerifyLabelWCM 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
IOKW_StateVerifyLabelREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
Verifies the Label of a GUI-object.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
IOKW_StateVerifyTooltip 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 VerifyTooltipWCM(String FN, String ExpVal) throws Exception
IOKW_StateVerifyTooltipWCM 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 VerifyTooltipREGX(String FN, String ExpVal) throws Exception
IOKW_StateVerifyTooltipREGX 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 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 VerifyValueWCM(String FN, String ExpVal) throws Exception
IOKW_StateVerifyValueWCM 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 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 FileDelete(String fpsPathAndFileName) throws Exception
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 fpsPath, String ExpVal) throws Exception
IOKW_StateVerifyDirectoryExists in interface IOKW_StateExpVal - Erwarteter Wert. Möglich Werte sind: "JA"/"NEIN"/"${IGNORIERE}"
\~english
\briefExceptionpublic void CopyFile(String fpsSourcePathAndFileName, String fpsDestinationPathAndFileName) throws Exception
CopyFile in interface IOKW_StateExceptionpublic void VerifyCaption(String FN, String ExpVal) throws Exception
IOKW_StateVerifyCaption 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
IOKW_StateVerifyCaptionWCM 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
IOKW_StateVerifyCaptionREGX in interface IOKW_StateFN - Funktionaler Name des ObjektsExpVal - Erwarteter Wert
\~english
\brief
No description for "VerifyCaption" availableExceptionCopyright © 2017 OpenKeyWord. All rights reserved.