OpenKeyWord  Build Tag: jenkins-DoxyGen_EN-107, Build ID: 2015-03-08_20-51-06
 All Classes Namespaces Functions Variables Properties Pages
OKW.NOK Class Reference
Inheritance diagram for OKW.NOK:
Collaboration diagram for OKW.NOK:

Public Member Functions

 NOK (Core fp_OKW)
 
void BeginTest (string fpsTestname)
 Begins a test. More...
 
void ClickOn (string fpsFunctionalname)
 Clicks on given object. More...
 
void ClickOn (string fpsFunctionalname, string fpsClickType)
 Clicks on given object. More...
 
void EndTest ()
 Terminates the test respectively the testcase. More...
 
void LogCaption (string fpsFunctionalname)
 No description for "LogCaption" available. More...
 
void LogExists (string fpsFunctionalname)
 Logs whether the given object is existing. More...
 
void LogHasFocus (string fpsFunctionalname)
 Logs the focus status of the given object. More...
 
void LogIsActive (string fpsFunctionalname)
 Logs the status of the given object. More...
 
void LogLabel (string fpsFunctionalname)
 No description for "LogLabel" available. More...
 
void LogSelected (string fpsFunctionalname)
 Logs the marked text of the given object. More...
 
void LogTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow)
 Logs the value of the selected tablecell. More...
 
void LogTooltip (string fpsFunctionalname)
 Logs the Tooltip of the given object. More...
 
void LogValue (string fpsFunctionalname)
 Logs the standard value of an object. More...
 
void MemorizeCaption (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeCaptione" available. More...
 
void MemorizeExists (string fpsFunctionalname, string fpsMemKeyName)
 Memorizes the actual existing Status of the object. More...
 
void MemorizeHasFocus (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeHasFocus" available. More...
 
void MemorizeIsActive (string fpsFunctionalname, string fpsMemKeyName)
 Memorizes the state of the given object. More...
 
void MemorizeLabel (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeLabel" available. More...
 
void MemorizeSelectedValue (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeSelectedValue" available. More...
 
void MemorizeTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsMemKeyName)
 Memorizes the value of the given tablecell. More...
 
void MemorizeTooltip (string fpsFunctionalname, string fpsMemKeyName)
 Logs the tooltip-text of the given object. More...
 
void MemorizeValue (string fpsFunctionalname, string fpsMemKeyName)
 No description for "MemorizeLabel" available. More...
 
void Select (string fpsFunctionalname, string fpsValue)
 Select all rows in a list/chart, which contain the given data. More...
 
void Select (string fpsFunctionalname, string fpsValue, string fpsClickType)
 Select all rows in a list/chart, which contain the given data. More...
 
void SelectMenu (string fpsFunctionalname)
 Selects the given menu item. More...
 
void SelectMenu (string fpsFunctionalname, string fpsValue)
 Selects the given menu item. More...
 
void SelectTablecell (string fpsFunctionalname, string fpsCol, string fpsRow)
 Selects the given table cell. More...
 
void SelectTablecell (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsClickType)
 Selects the given table cell. More...
 
void SelectWindow (string fpsFunctionalname)
 Setting the context for the given window and ensuring that the window is active and in the foreground. More...
 
void Sequence (string fpsObjectName, string fpsSequenceName, string SEQ_ID)
 Calls the sequence of the window. More...
 
void SetFocus (string fpsFunctionalname)
 Setting the focus to the given window object. More...
 
void SetLanguage (string Language)
 
void SetValue (string fpsFunctionalname, string fpsValue)
 Setting the value of the given window object to the given value. More...
 
void StartApp (string fpsApplikationName)
 Starts the given application. More...
 
void StopApp (string fpsApplikationName)
 Ends a given application. More...
 
void TypeKey (string fpsFunctionalname, string fpsValue)
 Keyboard inputs of data in the active windows object. More...
 
void TypeKeyTablecell (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsValue)
 Input of date to a given tablecell by the keyboard. More...
 
void TypeKeyWindow (string fpsFunctionalname, string fpsValue)
 Keyboard input to a particular window object. More...
 
void VerifyCaption (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyCaption" available. More...
 
void VerifyExists (string fpsFunctionalname, string fpsExpectedValue)
 Checks the existence of the given object.
Example #1: Check if the object MyObject exists:
More...
 
void VerifyHasFocus (string fpsFunctionalname, string fpsExpectedValue)
 Compares the focus status of the given object with the expected value. More...
 
void VerifyIsActive (string fpsFunctionalname, string fpsExpectedValue)
 Compares the focus status of the given object with the expected value. More...
 
void VerifyLabel (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyLabel" available. More...
 
void VerifySelectedValue (string fpsFunctionalname, string fpsExpectedValue)
 Compares the selected value of the given listobject with the expected value. More...
 
void VerifyTablecellValue (string fpsFunctionalname, string fpsCol, string fpsRow, string fpsExpectedValue)
 Compares the content of the given table cell with the expected value. More...
 
void VerifyTooltip (string fpsFunctionalname, string fpsExpectedValue)
 No description for "VerifyTooltip" available. More...
 
void VerifyValue (string fpsFunctionalname, string fpsExpectedValue)
 Checks the standard value of an object (in most cases this is the displayed text). More...
 

Private Attributes

OKWLanguage AL = OKWLanguage.Instance
 
OKWDocu MyOKWDocu = OKWDocu.Instance
 
Core _Kernel
 

Detailed Description

Author
Zoltán Hrabovszki
Date
2013.03.02

Constructor & Destructor Documentation

OKW.NOK.NOK ( Core  fp_OKW)
Author
Zoltán Hrabovszki
Date
02.03.2013
76  {
77  this._Kernel = fp_OKW;
78  }

Member Function Documentation

void OKW.NOK.BeginTest ( string  fpsTestname)

Begins a test.

Description of the allgorithm

Note
Additional remarks to the key-word

/param fpsTestname No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

90  {
91  // TODO: Prüfen ob hier ein catchbloch bnötigt wird
92  try {
93  Logger.Instance.LogFunctionStart("BeginTest",
94  "fpsTestname", fpsTestname);
95 
96  // Alles Initialisieren
97  OKW_Ini.Instance.Init();
98  CurrentObject.Instance.Init();
99 
100  Logger.Instance.LogPrint("NOK -> OK");
101  this._Kernel.SetCurrentState(new OK(this._Kernel));
102  } finally {
103  // Gute Frage was alles hier hingehört...
104  Logger.Instance.LogFunctionEnd();
105  }
106  }
void OKW.NOK.ClickOn ( string  fpsFunctionalname)

Clicks on given object.

Example: Click on the object with the name "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object

Example: Click on "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

114  {
115  Logger.Instance.LogFunctionStart("ClickOn",
116  "fpsFunctionalname", fpsFunctionalname);
117 
118  Logger.Instance.LogFunctionEnd();
119  }
void OKW.NOK.ClickOn ( string  fpsFunctionalname,
string  fpsClickType 
)

Clicks on given object.

Example: Click on the object with the name "My Object":

click on: "MyObject" 

/param fpsFunctionalname Functional name of the object /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default)

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

127  {
128  Logger.Instance.LogFunctionStart("ClickOn",
129  "fpsFunctionalname", fpsFunctionalname,
130  "fpsClickType", fpsClickType);
131 
132  Logger.Instance.LogFunctionEnd();
133  }
void OKW.NOK.EndTest ( )

Terminates the test respectively the testcase.

Description of the mode of operation.

Note
Additional remark to the keyword
Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

141  {
142  // TODO: Aufräumen Kill... usw aufrufen
143  Logger.Instance.LogFunctionStart("EndTest");
144 
145  Logger.Instance.LogFunctionEnd();
146  }
void OKW.NOK.LogCaption ( string  fpsFunctionalname)

No description for "LogCaption" available.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

154  {
155  Logger.Instance.LogFunctionStart("LogCaption",
156  "fpsFunctionalname", fpsFunctionalname);
157 
158  Logger.Instance.LogFunctionEnd();
159  }
void OKW.NOK.LogExists ( string  fpsFunctionalname)

Logs whether the given object is existing.

Example: Logs whether the object with the name "My Object" is existing:

log exists: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-18/jnic

Implements OKW.IOKW_State.

167  {
168  Logger.Instance.LogFunctionStart("LogExists",
169  "fpsFunctionalname", fpsFunctionalname);
170 
171  Logger.Instance.LogFunctionEnd();
172  }
void OKW.NOK.LogHasFocus ( string  fpsFunctionalname)

Logs the focus status of the given object.

Example: Logs the focus status of "My Object":

LoghasFocus: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

180  {
181  Logger.Instance.LogFunctionStart("LogHasFocus",
182  "fpsFunctionalname", fpsFunctionalname);
183 
184  Logger.Instance.LogFunctionEnd();
185  }
void OKW.NOK.LogIsActive ( string  fpsFunctionalname)

Logs the status of the given object.

Example: Logs the active status of "My Object":

LogIsActive: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

193  {
194  Logger.Instance.LogFunctionStart("LogIsActive",
195  "fpsFunctionalname", fpsFunctionalname);
196 
197  Logger.Instance.LogFunctionEnd();
198  }
void OKW.NOK.LogLabel ( string  fpsFunctionalname)

No description for "LogLabel" available.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

206  {
207  Logger.Instance.LogFunctionStart("LogLabel",
208  "fpsFunctionalname", fpsFunctionalname);
209 
210  Logger.Instance.LogFunctionEnd();
211  }
void OKW.NOK.LogSelected ( string  fpsFunctionalname)

Logs the marked text of the given object.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

218  {
219  Logger.Instance.LogFunctionStart("LogSelected",
220  "fpsFunctionalname", fpsFunctionalname);
221 
222  Logger.Instance.LogFunctionEnd();
223  }
void OKW.NOK.LogTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow 
)

Logs the value of the selected tablecell.

/param fpsFunctionalname Functional name of the object /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>Beschreibung überprüfen

Implements OKW.IOKW_State.

231  {
232  Logger.Instance.LogFunctionStart("LogTablecellValue",
233  "fpsCol", fpsCol,
234  "fpsRow", fpsRow,
235  "fpsFunctionalname", fpsFunctionalname);
236 
237  Logger.Instance.LogFunctionEnd();
238  }
void OKW.NOK.LogTooltip ( string  fpsFunctionalname)

Logs the Tooltip of the given object.

Example: Logs the tooltip text of "My Object":

LogToolip: "MyObject" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

246  {
247  Logger.Instance.LogFunctionStart("LogTooltip",
248  "fpsFunctionalname", fpsFunctionalname);
249 
250  Logger.Instance.LogFunctionEnd();
251  }
void OKW.NOK.LogValue ( string  fpsFunctionalname)

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-file
Example: Check if the value (text) of object "MyObject" equals the expected value "Django":

Verify Value: "MyObject", "Django" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

259  {
260  Logger.Instance.LogFunctionStart("LogValue",
261  "fpsFunctionalname", fpsFunctionalname);
262 
263  Logger.Instance.LogFunctionEnd();
264  }
void OKW.NOK.MemorizeCaption ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeCaptione" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

272  {
273  Logger.Instance.LogFunctionStart("MemorizeCaption",
274  "fpsFunctionalname", fpsFunctionalname,
275  "fpsMemKeyName", fpsMemKeyName);
276 
277  Logger.Instance.LogFunctionEnd();
278  }
void OKW.NOK.MemorizeExists ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Memorizes the actual existing Status of the object.

The value is stored under the key returned as parameter.
Example: Memorizes the existent state of the object "My Object" under the key "My Key":

Memorize Exists: "MyObject", "MyKey" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

285  {
286  Logger.Instance.LogFunctionStart("MemorizeExists",
287  "fpsFunctionalname", fpsFunctionalname,
288  "fpsMemKeyName", fpsMemKeyName);
289 
290  Logger.Instance.LogFunctionEnd();
291  }
void OKW.NOK.MemorizeHasFocus ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeHasFocus" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

299  {
300  Logger.Instance.LogFunctionStart("MemorizeHasFocus",
301  "fpsFunctionalname", fpsFunctionalname,
302  "fpsMemKeyName", fpsMemKeyName);
303 
304  Logger.Instance.LogFunctionEnd();
305  }
void OKW.NOK.MemorizeIsActive ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Memorizes the state of the given object.

The value is stored under the key which is given as parameter.
Example Memorizes the object-state of MyObject under the key "MyKey":

Memorize Is Active: "MyObject", "MyKey" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

313  {
314  Logger.Instance.LogFunctionStart("MemorizeIsActive",
315  "fpsFunctionalname", fpsFunctionalname,
316  "fpsMemKeyName", fpsMemKeyName);
317 
318  Logger.Instance.LogFunctionEnd();
319  }
void OKW.NOK.MemorizeLabel ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

327  {
328  Logger.Instance.LogFunctionStart("MemorizeLabel",
329  "fpsFunctionalname", fpsFunctionalname,
330  "fpsMemKeyName", fpsMemKeyName);
331 
332  Logger.Instance.LogFunctionEnd();
333  }
void OKW.NOK.MemorizeSelectedValue ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeSelectedValue" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

341  {
342  Logger.Instance.LogFunctionStart("MemorizeSelectedValue",
343  "fpsFunctionalname", fpsFunctionalname,
344  "fpsMemKeyName", fpsMemKeyName);
345 
346  Logger.Instance.LogFunctionEnd();
347  }
void OKW.NOK.MemorizeTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsMemKeyName 
)

Memorizes the value of the given tablecell.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

355  {
356  Logger.Instance.LogFunctionStart("MemorizeTablecellValue",
357  "fpsFunctionalname", fpsFunctionalname,
358  "fpsCol", fpsCol,
359  "fpsRow", fpsRow,
360  "fpsMemKeyName", fpsMemKeyName);
361  Logger.Instance.LogFunctionEnd();
362  }
void OKW.NOK.MemorizeTooltip ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

Logs the tooltip-text of the given object.

Example logs the tooltip text of the given object "my object"

Logge Tooltip: "MeinObjekt" 

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

370  {
371  Logger.Instance.LogFunctionStart("MemorizeTooltip",
372  "fpsFunctionalname", fpsFunctionalname,
373  "fpsMemKeyName", fpsMemKeyName);
374 
375  Logger.Instance.LogFunctionEnd();
376  }
void OKW.NOK.MemorizeValue ( string  fpsFunctionalname,
string  fpsMemKeyName 
)

No description for "MemorizeLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsMemKeyName Name of the key

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

384  {
385  Logger.Instance.LogFunctionStart("MemorizeValue",
386  "fpsFunctionalname", fpsFunctionalname,
387  "fpsMemKeyName", fpsMemKeyName);
388 
389  Logger.Instance.LogFunctionEnd();
390  }
void OKW.NOK.Select ( string  fpsFunctionalname,
string  fpsValue 
)

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.
Example #1: Select all rows which contain the text "Value":

Select: "MyTable", "Value" 


Example #2: Select all rows which contain the text "Value1" in the first column, followed by the text "Value2" in any of the remaining columns:

Select: "MyTable", "Value1{HSEP}Value2" 


Example #3: Select all rows which contain the text "Value1", followed by any (or no) text in the first column, followed by an empty column, followed by the text "Value2" in the third column:

Select: "MyTable", "Value1{HSEP}{HSEP}Value2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-19

Implements OKW.IOKW_State.

397  {
398  Logger.Instance.LogFunctionStart("Select",
399  "fpsFunctionalname", fpsFunctionalname,
400  "fpsValue", fpsValue);
401 
402  Logger.Instance.LogFunctionEnd();
403  }
void OKW.NOK.Select ( string  fpsFunctionalname,
string  fpsValue,
string  fpsClickType 
)

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.
Example #1: Select all rows which contain the text "Value":

Select: "MyTable", "Value" 


Example #2: Select all rows which contain the text "Value1" in the first column, followed by the text "Value2" in any of the remaining columns:

Select: "MyTable", "Value1{HSEP}Value2" 


Example #3: Select all rows which contain the text "Value1", followed by any (or no) text in the first column, followed by an empty column, followed by the text "Value2" in the third column:

Select: "MyTable", "Value1{HSEP}{HSEP}Value2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default)

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

410  {
411  Logger.Instance.LogFunctionStart("Select",
412  "fpsFunctionalname", fpsFunctionalname,
413  "fpsValue", fpsValue,
414  "fpsClickType", fpsClickType);
415 
416  Logger.Instance.LogFunctionEnd();
417  }
void OKW.NOK.SelectMenu ( string  fpsFunctionalname)

Selects the given menu item.

Example Select menu item with name "MyMenu":

Select menu: "MyMenu" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

425  {
426  Logger.Instance.LogFunctionStart("SelectMenu",
427  "fpsFunctionalname", fpsFunctionalname);
428 
429  Logger.Instance.LogFunctionEnd();
430  }
void OKW.NOK.SelectMenu ( string  fpsFunctionalname,
string  fpsValue 
)

Selects the given menu item.

Example Select menu item with name "MyMenu":

Select menu: "MyMenu" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

438  {
439  Logger.Instance.LogFunctionStart("SelectMenu",
440  "fpsFunctionalname", fpsFunctionalname,
441  "fpsValue", fpsValue);
442 
443  Logger.Instance.LogFunctionEnd();
444  }
void OKW.NOK.SelectTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow 
)

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.
Example #1: Select cell at first column with text "Toni" and row with number 3:

Select Tablecell: "MyTable", "Toni", "#3" 

Example #2: Select cell at column with number 1 and row with name "Address":

Select Tablecell: "MyTable", "#1", "Address" 

Example #3: Select cell at column number 1 and row 1:

Select Tablecell: "MyTable", "#1", "#1" 

Example #4: Select cell at col number 1 and first row with text "42":

Select Tablecell: "MyTable", "#1", "42" 

/param fpsFunctionalname Functional name of the object /param fpsCol Column number of cell to be selected, starting with 1. /param fpsRow Row number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

452  {
453  Logger.Instance.LogFunctionStart("SelectTablecell",
454  "fpsFunctionalname", fpsFunctionalname,
455  "fpsCol", fpsCol,
456  "fpsRow", fpsRow);
457 
458  Logger.Instance.LogFunctionEnd();
459  }
void OKW.NOK.SelectTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsClickType 
)

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.
Example #1: Select cell at first column with text "Toni" and row with number 3:

Select Tablecell: "MyTable", "Toni", "#3" 

Example #2: Select cell at column with number 1 and row with name "Address":

Select Tablecell: "MyTable", "#1", "Address" 

Example #3: Select cell at column number 1 and row 1:

Select Tablecell: "MyTable", "#1", "#1" 

Example #4: Select cell at col number 1 and first row with text "42":

Select Tablecell: "MyTable", "#1", "42" 

/param fpsFunctionalname Functional name of the object /param fpsClickType Doubleclick" to select via doubleclick, "Singleclick" to select via singleclick (default) /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

467  {
468  Logger.Instance.LogFunctionStart(
469  "SelectTablecell",
470  "fpsFunctionalname", fpsFunctionalname,
471  "fpsCol", fpsCol,
472  "fpsRow", fpsRow,
473  "fpsClickType", fpsClickType);
474 
475  Logger.Instance.LogFunctionEnd();
476  }
void OKW.NOK.SelectWindow ( string  fpsFunctionalname)

Setting the context for the given window and ensuring that the window is active and in the foreground.

Example: Select window with name "MyWindow":

Select Window: "MyWindow" 

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-19/jnic

Implements OKW.IOKW_State.

484  {
485  Logger.Instance.LogFunctionStart("SelectWindow",
486  "fpsFunctionalname", fpsFunctionalname);
487 
488  Logger.Instance.LogFunctionEnd();
489  }
void OKW.NOK.Sequence ( string  fpsObjectName,
string  fpsSequenceName,
string  SEQ_ID 
)

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:_

Sequence: "Login", "Login" = "Administrator" 

/param fpsFunctionalname Functional name of the object /param fpsSequenceName No explanation available /param SEQ_ID No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>Beschreibung erledigt 2014-10-26

Implements OKW.IOKW_State.

496  {
497  Logger.Instance.LogFunctionStart("Sequence",
498  "fpsObjectName", fpsObjectName,
499  "fpsSequenceName", fpsSequenceName,
500  "SEQ_ID", SEQ_ID);
501 
502  Logger.Instance.LogFunctionEnd();
503  }
void OKW.NOK.SetFocus ( string  fpsFunctionalname)

Setting the focus to the given window object.

/param fpsFunctionalname Functional name of the object

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

511  {
512  Logger.Instance.LogFunctionStart("SetFocus",
513  "fpsFunctionalname", fpsFunctionalname);
514 
515  Logger.Instance.LogFunctionEnd();
516  }
void OKW.NOK.SetLanguage ( string  Language)
Author
Zoltán Hrabovszki
Date
02.03.2013

Implements OKW.IOKW_State.

525  {
526  this.AL.Language = Language;
527  }
void OKW.NOK.SetValue ( string  fpsFunctionalname,
string  fpsValue 
)

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:
Inputs of the object are written over with "fpsValue".

Example: Set the value of the objekt "MyWindow" to "Hello":

Set Value: "MyWindow", "Hello" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
–>jnic - Beschreibung bearbeitet 2014-10-26

Implements OKW.IOKW_State.

535  {
536  Logger.Instance.LogFunctionStart("SetValue",
537  "fpsFunctionalname", fpsFunctionalname);
538 
539  Logger.Instance.LogFunctionEnd();
540  }
void OKW.NOK.StartApp ( string  fpsApplikationName)

Starts the given application.

Example: Order to start the application "InternetExplorer":

Start Application: "InternetExplorer"
Remarks
Te method "StartApp()" must be implemented in the class "fpsApplikatioName". The technical identifier must not inevitably be identical to the name of the exe file: here we hav e a mapping between the technical identifier and the invoked "*.exe"
An example how a full Implementation can look at, is to be find in SeInternetExplorerApp.StartApp

/param fpsApplicationName No explanation available

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>Beschreibung angepasst 2014-10-26

Implements OKW.IOKW_State.

548  {
549  Logger.Instance.LogFunctionStart("StartApp",
550  "fps_ApplikationName", fpsApplikationName);
551 
552  Logger.Instance.LogFunctionEnd();
553  }
void OKW.NOK.StopApp ( string  fpsApplikationName)

Ends a given application.

Example: Order to start the application "InternetExplorer":

End Application: "InternetExplorer"
Remarks
The method "StopApp()" must be implemented in the class "fpsApplikatioName" The framework is not able to know, how a specific application is to be closed. The must be fully implemented specific to the project.
An example, how the full implementation can look at is to be find at SeInternetExplorerApp.StopApp.

/param fpsApplicationName The technical name of the application

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic todo jnic–>Beschreibung angepasst 2014-10-26

Implements OKW.IOKW_State.

561  {
562  Logger.Instance.LogFunctionStart("StopApp",
563  "fps_ApplikationName", fpsApplikationName);
564 
565  Logger.Instance.LogFunctionEnd();
566  }
void OKW.NOK.TypeKey ( string  fpsFunctionalname,
string  fpsValue 
)

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":

Type Key: "MyWindowObjekt", "InputValue" 

Example: "Input of constant value":

Type Key: "MainWindow", "{F2}" 

Example: "Input of more than one value":

Type Key: "MyWindowObjekt", "InputValue1{SEP}InputValue2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

574  {
575  Logger.Instance.LogFunctionStart("TypeKey",
576  "fpsFunctionalname", fpsFunctionalname,
577  "fpsValue", fpsValue);
578 
579  Logger.Instance.LogFunctionEnd();
580  }
void OKW.NOK.TypeKeyTablecell ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsValue 
)

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.
Example #1: Simple Input in cell at column 2 and row 5:

Type Key Tablecell: "MyTable", 2, 5, "InputValue" 

Example #2: Simple Input in cell at first column with text "Toni" and row with name "Tester":

Type Key Tablecell: "MyTable", "Toni", "Tester", "InputValue" 

Example #3: Simple Input in cell at first column with text "Toni" and row with number 3:

Type Key Tablecell: "MyTable", "Toni", 3, "InputValue" 

Example #4: Simple Input in cell at column with number 1 and row with name "Address":

Type Key Tablecell: "MyTable", 1, "Address", "InputValue" 

Example #5: Input of constant value named "F2" in cell at column number 1 and row 1:

Type Key Tablecell: "MyTable", 1, 1, "{F2}" 

Example #6: Input of more than one value in cell at first column with text "Ernie" and third row:

Type Key Tablecell: "MyTable", "Ernie", 3, "InputValue1{SEP}InputValue2" 

Example #7: Input of value "Hiho" into cell at column number 1 and first row with text "42":

Type Key Tablecell: "MyTable", "#1", "42", "HiHo" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

588  {
589  Logger.Instance.LogFunctionStart("TypeKeyTablecell",
590  "fpsFunctionalname", fpsFunctionalname,
591  "fpsColl", fpsCol,
592  "fpsRow", fpsRow,
593  "fpsValue", fpsValue);
594 
595  Logger.Instance.LogFunctionEnd();
596  }
void OKW.NOK.TypeKeyWindow ( string  fpsFunctionalname,
string  fpsValue 
)

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.
Example #1: Simple Input:

Type Key Window: "MyWindowObjekt", "InputValue" 

Example #2: Input of constant value:

Type Key Window: "MainWindow", "{F2}" 

Example #3: Input of more than one value:

Type Key Window: "MyWindowObjekt", "InputValue1{SEP}InputValue2" 

/param fpsFunctionalname Functional name of the object /param fpsValue Resulting value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

603  {
604  Logger.Instance.LogFunctionStart("TypeKeyWindow",
605  "fpsFunctionalname", fpsFunctionalname,
606  "fpsValue", fpsValue);
607 
608  Logger.Instance.LogFunctionEnd();
609  }
void OKW.NOK.VerifyCaption ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyCaption" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

616  {
617  Logger.Instance.LogFunctionStart("VerifyCaption",
618  "fpsFunctionalname", fpsFunctionalname,
619  "fpsExpectedValue", fpsExpectedValue);
620 
621  Logger.Instance.LogFunctionEnd();
622  }
void OKW.NOK.VerifyExists ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Checks the existence of the given object.
Example #1: Check if the object MyObject exists:

Verify Exists: "MyObject", "YES" 

Example #2: Check if the object MyObject does not exist:

Verify Exists: "MyObject", "NO" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

629  {
630  Logger.Instance.LogFunctionStart("VerifyExists",
631  "fpsFunctionalname", fpsFunctionalname,
632  "fpsExpectedValue", fpsExpectedValue);
633 
634  Logger.Instance.LogFunctionEnd();
635  }
void OKW.NOK.VerifyHasFocus ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Compares the focus status of the given object with the expected value.

Example #1: Verify if the object MyObject has the focus:

Verify Has Focus: "MyObject", "YES" 

Example #2: Verify if the object MyObject has NOT the focus:

Verify Has Focus: "MyObject", "NO" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

642  {
643  Logger.Instance.LogFunctionStart("VerifyHasFocus",
644  "fpsFunctionalname", fpsFunctionalname,
645  "fpsExpectedValue", fpsExpectedValue);
646 
647  Logger.Instance.LogFunctionEnd();
648  }
void OKW.NOK.VerifyIsActive ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Compares the focus status of the given object with the expected value.

Example: Verify if the object MyObject is in the state "active":

Verify Is Active: "MyObject", "YES" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

655  {
656  Logger.Instance.LogFunctionStart("VerifyIsActive",
657  "fpsFunctionalname", fpsFunctionalname,
658  "fpsExpectedValue", fpsExpectedValue);
659 
660  Logger.Instance.LogFunctionEnd();
661  }
void OKW.NOK.VerifyLabel ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyLabel" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value. Following values are Allowed here: "YES, "NO", and "IGNORE".

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
TODO: jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

668  {
669  Logger.Instance.LogFunctionStart("VerifyLabel",
670  "fpsFunctionalname", fpsFunctionalname,
671  "fpsExpectedValue", fpsExpectedValue);
672 
673  Logger.Instance.LogFunctionEnd();
674  }
void OKW.NOK.VerifySelectedValue ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

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}.
Example #1: Check if the list entry "Henry" is selected in the list "MyList":

Verify Selected Value: "MyList", "Henry" 

Example #2: Check if the entry "Names{SEP}Henry" is selected in the treeview "MyTreeview":

Verify Selected Value: "MyTreeview", "Names{SEP}Henry" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

681  {
682  Logger.Instance.LogFunctionStart("VerifySelectedValue",
683  "fpsFunctionalname", fpsFunctionalname,
684  "fpsExpectedValue", fpsExpectedValue);
685 
686  Logger.Instance.LogFunctionEnd();
687  }
void OKW.NOK.VerifyTablecellValue ( string  fpsFunctionalname,
string  fpsCol,
string  fpsRow,
string  fpsExpectedValue 
)

Compares the content of the given table cell with the expected value.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value /param fpsRow Row number of cell to be selected, starting with 1. /param fpsCol Column number of cell to be selected, starting with 1.

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic

Implements OKW.IOKW_State.

694  {
695  Logger.Instance.LogFunctionStart("VerifyTablecellValue",
696  "fpsFunctionalname", fpsFunctionalname,
697  "fpsCol", fpsCol,
698  "fpsRow", fpsRow,
699  "fpsExpectedValue", fpsExpectedValue);
700 
701  Logger.Instance.LogFunctionEnd();
702  }
void OKW.NOK.VerifyTooltip ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

No description for "VerifyTooltip" available.

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/jnic
Todo:
TODO: jnic–>keine Beschreibung vorhanden

Implements OKW.IOKW_State.

709  {
710  Logger.Instance.LogFunctionStart("VerifyTooltip",
711  "fpsFunctionalname", fpsFunctionalname,
712  "fpsExpectedValue", fpsExpectedValue);
713 
714  Logger.Instance.LogFunctionEnd();
715  }
void OKW.NOK.VerifyValue ( string  fpsFunctionalname,
string  fpsExpectedValue 
)

Checks the standard value of an object (in most cases this is the displayed text).

Example: Check if the value (text) of object "MyObject" equals the expected value "Django":

Verify Value: "MyObject", "Django" 

/param fpsFunctionalname Functional name of the object /param fpsExpectedValue Expected value

Author
Zoltan Hrabovszki
Date
2014-09-21/ jnic

Implements OKW.IOKW_State.

722  {
723  Logger.Instance.LogFunctionStart("VerifyValue",
724  "fpsFunctionalname", fpsFunctionalname,
725  "fpsExpectedValue", fpsExpectedValue);
726 
727  Logger.Instance.LogFunctionEnd();
728  }

The documentation for this class was generated from the following file: