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

Public Member Functions

void MyTearDown ()
 
void MySetUp ()
 
void OK_TC_ClickOn_Clicktype_Exception ()
 
void OK_TC_ClickOn_Exception ()
 
void OK_TC_LogExists_Exception ()
 
void OK_TC_LogHasFocus_Exception ()
 
void OK_TC_LogIsActive_Exception ()
 
void OK_TC_LogSelected_Exception ()
 
void OK_TC_LogTablecellValue_Exception ()
 
void OK_TC_LogTooltip_Exception ()
 
void OK_TC_LogLabel_Exception ()
 
void OK_TC_LogCaption_Exception ()
 
void OK_TC_LogValue_Exception ()
 
void OK_TC_MemorizeExists_Exception ()
 
void OK_TC_MemorizeHasFocus_Exception ()
 
void OK_TC_MemorizeIsActive_Exception ()
 
void OK_TC_MemorizeSelectedValue_Exception ()
 
void OK_TC_MemorizeTablecellValue_Exception ()
 
void OK_TC_MemorizeTooltip_Exception ()
 
void OK_TC_MemorizeCaption_Exception ()
 
void OK_TC_MemorizeLabel_Exception ()
 
void OK_TC_MemorizeValue_Exception ()
 
void OK_TC_SelectMenu_Exception ()
 
void OK_TC_SelectMenu_Value_Exception ()
 
void OK_TC_SelectTablecell_ClickType_Exveption ()
 
void OK_TC_SelectTablecell_Exception ()
 
void OK_TC_Select_ClickType_Exception ()
 
void OK_TC_Select_Exception ()
 
void OK_TC_SetFocus_Exception ()
 
void OK_TC_SetValue_Exception ()
 
void OK_TC_TypeKeyTablecell_Exception ()
 
void OK_TC_TypeKey_Exception ()
 
void OK_TC_VerifyExists_Exception ()
 
void OK_TC_VerifyHasFocus_Exception ()
 
void OK_TC_VerifyIsActive_Exception ()
 
void OK_TC_VerifySelectedValue_Exception ()
 
void OK_TC_VerifyTablecellValue_Exception ()
 
void OK_TC_VerifyTooltip_Exception ()
 
void OK_TC_VerifyCaption_Exception ()
 
void OK_TC_VerifyLabel_Exception ()
 
void OK_TC_VerifyValue_Exception ()
 
void TC_SelectWindow_Exception ()
 
void TC_Sequence ()
 

Static Public Member Functions

static void MyTestFixtureSetUp ()
 

Private Attributes

Core myKernel = new Core()
 

Detailed Description

Author
Zoltan Hrabovszki
Date
2013.12.26

Member Function Documentation

void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_ClickOn_Clicktype_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.03.24
101  {
102  // Testscript in Schlüsselwort-Notation
103  this.myKernel.SelectWindow("Rechner");
104 
105  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
106  // Check the Name, Called Method and Value of Actuel object
107  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
108  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
109  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
110 
111  try
112  {
113  this.myKernel.ClickOn("All_MethodsObj_Exception", "DOUBLEKLICK");
114  Assert.Fail();
115  }
116  catch (OKWFrameObjectChildNotFoundException e)
117  {
118  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
119  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
120  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
121  }
122  catch (Exception e)
123  {
124  System.Console.WriteLine("Exception: " + e.GetType().FullName);
125  System.Console.WriteLine("Nachricht: " + e.Message);
126  Assert.Fail("Falsche Exception: " + e.Message);
127  }
128  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_ClickOn_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.03.24
141  {
142  // Testscript in Schlüsselwort-Notation
143  this.myKernel.SelectWindow("Rechner");
144 
145  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
146  // Check the Name, Called Method and Value of Actuel object
147  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
148  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
149  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
150 
151  try
152  {
153  this.myKernel.ClickOn("All_MethodsObj_Exception");
154  Assert.Fail();
155  }
156  catch (OKWFrameObjectChildNotFoundException e)
157  {
158  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
159  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
160  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
161  }
162  catch (Exception e)
163  {
164  System.Console.WriteLine("Exception: " + e.Message);
165  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
166  }
167  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogCaption_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
452  {
453  // Testscript in Schlüsselwort-Notation
454  this.myKernel.SelectWindow("Rechner");
455 
456  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
457  // Check the Name, Called Method and Value of Actuel object
458  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
459  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
460  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
461 
462  try
463  {
464  this.myKernel.LogCaption("All_MethodsObj_Exception");
465  Assert.Fail();
466  }
467  catch (OKWFrameObjectChildNotFoundException e)
468  {
469  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
470  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
471  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
472  }
473  catch (Exception e)
474  {
475  System.Console.WriteLine("Exception: " + e.Message);
476  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
477  }
478  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
180  {
181  // Testscript in Schlüsselwort-Notation
182  this.myKernel.SelectWindow("Rechner");
183 
184  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
185  // Check the Name, Called Method and Value of Actuel object
186  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
187  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
188  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
189 
190  try
191  {
192  this.myKernel.LogExists("All_MethodsObj_Exception");
193  Assert.Fail();
194  }
195  catch (OKWFrameObjectChildNotFoundException e)
196  {
197  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
198  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
199  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
200  }
201  catch (Exception e)
202  {
203  System.Console.WriteLine("Exception: " + e.Message);
204  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
205  }
206  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
219  {
220  // Testscript in Schlüsselwort-Notation
221  this.myKernel.SelectWindow("Rechner");
222 
223  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
224  // Check the Name, Called Method and Value of Actuel object
225  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
226  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
227  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
228 
229  try
230  {
231  this.myKernel.LogHasFocus("All_MethodsObj_Exception");
232  Assert.Fail();
233  }
234  catch (OKWFrameObjectChildNotFoundException e)
235  {
236  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
237  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
238  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
239  }
240  catch (Exception e)
241  {
242  System.Console.WriteLine("Exception: " + e.Message);
243  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
244  }
245  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogIsActive_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
258  {
259  // Testscript in Schlüsselwort-Notation
260  this.myKernel.SelectWindow("Rechner");
261 
262  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
263  // Check the Name, Called Method and Value of Actuel object
264  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
265  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
266  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
267 
268  try
269  {
270  this.myKernel.LogIsActive("All_MethodsObj_Exception");
271  Assert.Fail();
272  }
273  catch (OKWFrameObjectChildNotFoundException e)
274  {
275  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
276  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
277  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
278  }
279  catch (Exception e)
280  {
281  System.Console.WriteLine("Exception: " + e.Message);
282  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
283  }
284  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogLabel_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
413  {
414  // Testscript in Schlüsselwort-Notation
415  this.myKernel.SelectWindow("Rechner");
416 
417  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
418  // Check the Name, Called Method and Value of Actuel object
419  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
420  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
421  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
422 
423  try
424  {
425  this.myKernel.LogLabel("All_MethodsObj_Exception");
426  Assert.Fail();
427  }
428  catch (OKWFrameObjectChildNotFoundException e)
429  {
430  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
431  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
432  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
433  }
434  catch (Exception e)
435  {
436  System.Console.WriteLine("Exception: " + e.Message);
437  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
438  }
439  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogSelected_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
297  {
298  this.myKernel.SelectWindow("Rechner");
299 
300  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
301  // Check the Name, Called Method and Value of Actuel object
302  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
303  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
304  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
305 
306  try
307  {
308  this.myKernel.LogSelected("All_MethodsObj_Exception");
309  Assert.Fail();
310  }
311  catch (OKWFrameObjectChildNotFoundException e)
312  {
313  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
314  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
315  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
316  }
317  catch (Exception e)
318  {
319  System.Console.WriteLine("Exception: " + e.Message);
320  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
321  }
322  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogTablecellValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
335  {
336  // Testscript in Schlüsselwort-Notation
337  this.myKernel.SelectWindow("Rechner");
338 
339  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
340  // Check the Name, Called Method and Value of Actuel object
341  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
342  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
343  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
344 
345  try
346  {
347  this.myKernel.LogTablecellValue("All_MethodsObj_Exception", "Col", "Row");
348  Assert.Fail();
349  }
350  catch (OKWFrameObjectChildNotFoundException e)
351  {
352  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
353  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
354  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
355  }
356  catch (Exception e)
357  {
358  System.Console.WriteLine("Exception: " + e.Message);
359  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
360  }
361  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogTooltip_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
374  {
375  // Testscript in Schlüsselwort-Notation
376  this.myKernel.SelectWindow("Rechner");
377 
378  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
379  // Check the Name, Called Method and Value of Actuel object
380  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
381  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
382  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
383 
384  try
385  {
386  this.myKernel.LogTooltip("All_MethodsObj_Exception");
387  Assert.Fail();
388  }
389  catch (OKWFrameObjectChildNotFoundException e)
390  {
391  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
392  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
393  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
394  }
395  catch (Exception e)
396  {
397  System.Console.WriteLine("Exception: " + e.Message);
398  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
399  }
400  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
491  {
492  // Testscript in Schlüsselwort-Notation
493  this.myKernel.SelectWindow("Rechner");
494 
495  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
496  // Check the Name, Called Method and Value of Actuel object
497  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
498  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
499  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
500 
501  try
502  {
503  this.myKernel.LogValue("All_MethodsObj_Exception");
504  Assert.Fail();
505  }
506  catch (OKWFrameObjectChildNotFoundException e)
507  {
508  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
509  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
510  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
511  }
512  catch (Exception e)
513  {
514  System.Console.WriteLine("Exception: " + e.Message);
515  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
516  }
517  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeCaption_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
764  {
765  // Testscript in Schlüsselwort-Notation
766  this.myKernel.SelectWindow("Rechner");
767 
768  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
769  // Check the Name, Called Method and Value of Actuel object
770  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
771  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
772  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
773 
774  try
775  {
776  this.myKernel.MemorizeCaption("All_MethodsObj_Exception", "OK_TC_MemorizeCaption");
777  Assert.Fail();
778  }
779  catch (OKWFrameObjectChildNotFoundException e)
780  {
781  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
782  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
783  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
784  }
785  catch (Exception e)
786  {
787  System.Console.WriteLine("Exception: " + e.Message);
788  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
789  }
790  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
530  {
531  // Testscript in Schlüsselwort-Notation
532  this.myKernel.SelectWindow("Rechner");
533 
534  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
535  // Check the Name, Called Method and Value of Actuel object
536  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
537  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
538  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
539 
540  try
541  {
542  this.myKernel.MemorizeExists("All_MethodsObj_Exception", "Key_TC_MemorizeExists");
543  Assert.Fail();
544  }
545  catch (OKWFrameObjectChildNotFoundException e)
546  {
547  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
548  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
549  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
550  }
551  catch (Exception e)
552  {
553  System.Console.WriteLine("Exception: " + e.Message);
554  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
555  }
556  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
569  {
570  // Testscript in Schlüsselwort-Notation
571  this.myKernel.SelectWindow("Rechner");
572 
573  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
574  // Check the Name, Called Method and Value of Actuel object
575  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
576  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
577  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
578 
579  try
580  {
581  this.myKernel.MemorizeHasFocus("All_MethodsObj_Exception", "Key_TC_Memorize_Focus");
582  Assert.Fail();
583  }
584  catch (OKWFrameObjectChildNotFoundException e)
585  {
586  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
587  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
588  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
589  }
590  catch (Exception e)
591  {
592  System.Console.WriteLine("Exception: " + e.Message);
593  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
594  }
595  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeIsActive_Exception ( )
Author
Zoltan Hrabovszki
Date
2014.01.04
608  {
609  // Testscript in Schlüsselwort-Notation
610  this.myKernel.SelectWindow("Rechner");
611 
612  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
613  // Check the Name, Called Method and Value of Actuel object
614  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
615  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
616  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
617 
618  try
619  {
620  this.myKernel.MemorizeIsActive("All_MethodsObj_Exception", "OK_TC_MemorizeIsActive");
621  Assert.Fail();
622  }
623  catch (OKWFrameObjectChildNotFoundException e)
624  {
625  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
626  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
627  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
628  }
629  catch (Exception e)
630  {
631  System.Console.WriteLine("Exception: " + e.Message);
632  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
633  }
634  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeLabel_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
803  {
804  // Testscript in Schlüsselwort-Notation
805  this.myKernel.SelectWindow("Rechner");
806 
807  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
808  // Check the Name, Called Method and Value of Actuel object
809  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
810  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
811  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
812 
813  try
814  {
815  this.myKernel.MemorizeLabel("All_MethodsObj_Exception", "OK_TC_MemorizeLabel");
816  Assert.Fail();
817  }
818  catch (OKWFrameObjectChildNotFoundException e)
819  {
820  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
821  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
822  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
823  }
824  catch (Exception e)
825  {
826  System.Console.WriteLine("Exception: " + e.Message);
827  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
828  }
829  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeSelectedValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
647  {
648  // Testscript in Schlüsselwort-Notation
649  this.myKernel.SelectWindow("Rechner");
650 
651  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
652  // Check the Name, Called Method and Value of Actuel object
653  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
654  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
655  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
656 
657  try
658  {
659  this.myKernel.MemorizeSelectedValue("All_MethodsObj_Exception", "OK_TC_MemorizeIsActive");
660  Assert.Fail();
661  }
662  catch (OKWFrameObjectChildNotFoundException e)
663  {
664  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
665  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
666  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
667  }
668  catch (Exception e)
669  {
670  System.Console.WriteLine("Exception: " + e.Message);
671  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
672  }
673  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeTablecellValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
686  {
687  // Testscript in Schlüsselwort-Notation
688  this.myKernel.SelectWindow("Rechner");
689 
690  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
691  // Check the Name, Called Method and Value of Actuel object
692  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
693  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
694  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
695 
696  try
697  {
698  this.myKernel.MemorizeTablecellValue("All_MethodsObj_Exception", "Col", "Row", "OK_TC_MemorizeIsActive");
699  Assert.Fail();
700  }
701  catch (OKWFrameObjectChildNotFoundException e)
702  {
703  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
704  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
705  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
706  }
707  catch (Exception e)
708  {
709  System.Console.WriteLine("Exception: " + e.Message);
710  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
711  }
712  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeTooltip_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
725  {
726  // Testscript in Schlüsselwort-Notation
727  this.myKernel.SelectWindow("Rechner");
728 
729  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
730  // Check the Name, Called Method and Value of Actuel object
731  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
732  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
733  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
734 
735  try
736  {
737  this.myKernel.MemorizeTooltip("All_MethodsObj_Exception", "OK_TC_MemorizeTooltip");
738  Assert.Fail();
739  }
740  catch (OKWFrameObjectChildNotFoundException e)
741  {
742  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
743  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
744  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
745  }
746  catch (Exception e)
747  {
748  System.Console.WriteLine("Exception: " + e.Message);
749  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
750  }
751  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
842  {
843  // Testscript in Schlüsselwort-Notation
844  this.myKernel.SelectWindow("Rechner");
845 
846  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
847  // Check the Name, Called Method and Value of Actuel object
848  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
849  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
850  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
851 
852  try
853  {
854  this.myKernel.MemorizeValue("All_MethodsObj_Exception", "OK_TC_MemorizeValue");
855  Assert.Fail();
856  }
857  catch (OKWFrameObjectChildNotFoundException e)
858  {
859  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
860  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
861  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
862  }
863  catch (Exception e)
864  {
865  System.Console.WriteLine("Exception: " + e.Message);
866  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
867  }
868  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_Select_ClickType_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1035  {
1036  this.myKernel.SelectWindow("Rechner");
1037 
1038  // Check the Name, Called Method and Value of Actuel object
1039  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1040  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1041 
1042  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1043  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1044 
1045  try
1046  {
1047  this.myKernel.Select("All_MethodsObj_Exception", "Hanna", "DoubleKlick");
1048  Assert.Fail("Erwarteter Exception ist ausgelöst worden");
1049  }
1050  catch (OKWFrameObjectChildNotFoundException e)
1051  {
1052  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1053  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1054  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1055  }
1056  catch (Exception e)
1057  {
1058  System.Console.WriteLine("Exception: " + e.Message);
1059  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1060  }
1061  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_Select_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1074  {
1075  this.myKernel.SelectWindow("Rechner");
1076 
1077  // Check the Name, Called Method and Value of Actuel object
1078  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1079  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1080  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1081 
1082  try
1083  {
1084  this.myKernel.Select("All_MethodsObj_Exception", "Hanna");
1085  Assert.Fail();
1086  }
1087  catch (OKWFrameObjectChildNotFoundException e)
1088  {
1089  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1090  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1091  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1092  }
1093  catch (Exception e)
1094  {
1095  System.Console.WriteLine("Exception: " + e.Message);
1096  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1097  }
1098  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectMenu_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
881  {
882  // Testscript in Schlüsselwort-Notation
883  this.myKernel.SelectWindow("Rechner");
884 
885  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
886  // Check the Name, Called Method and Value of Actuel object
887  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
888  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
889  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
890 
891  try
892  {
893  this.myKernel.SelectMenu("All_MethodsObj_Exception");
894  Assert.Fail();
895  }
896  catch (OKWFrameObjectChildNotFoundException e)
897  {
898  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
899  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
900  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
901  }
902  catch (Exception e)
903  {
904  System.Console.WriteLine("Exception: " + e.Message);
905  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
906  }
907  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectMenu_Value_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
920  {
921  // Testscript in Schlüsselwort-Notation
922  this.myKernel.SelectWindow("Rechner");
923 
924  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
925  // Check the Name, Called Method and Value of Actuel object
926  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
927  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
928  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
929 
930  try
931  {
932  this.myKernel.SelectMenu("All_MethodsObj_Exception", "Hanna");
933  Assert.Fail();
934  }
935  catch (OKWFrameObjectChildNotFoundException e)
936  {
937  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
938  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
939  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
940  }
941  catch (Exception e)
942  {
943  System.Console.WriteLine("Exception: " + e.Message);
944  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
945  }
946  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectTablecell_ClickType_Exveption ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
959  {
960  this.myKernel.SelectWindow("Rechner");
961 
962  // Check the Name, Called Method and Value of Actuel object
963  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
964  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
965  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
966 
967  try
968  {
969  this.myKernel.SelectTablecell("All_MethodsObj_Exception", "COL", "ROW", "DOUBLECLICK");
970  Assert.Fail();
971  }
972  catch (OKWFrameObjectChildNotFoundException e)
973  {
974  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
975  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
976  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
977  }
978  catch (Exception e)
979  {
980  System.Console.WriteLine("Exception: " + e.Message);
981  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
982  }
983  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectTablecell_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
996  {
997  this.myKernel.SelectWindow("Rechner");
998 
999  // Check the Name, Called Method and Value of Actuel object
1000  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1001  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1002 
1003  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1004  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1005 
1006  try
1007  {
1008  this.myKernel.SelectTablecell("All_MethodsObj_Exception", "COL", "ROW");
1009  Assert.Fail();
1010  }
1011  catch (OKWFrameObjectChildNotFoundException e)
1012  {
1013  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1014  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1015  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1016  }
1017  catch (Exception e)
1018  {
1019  System.Console.WriteLine("Exception: " + e.Message);
1020  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1021  }
1022  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SetFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1111  {
1112  this.myKernel.SelectWindow("Rechner");
1113  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1114  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1115  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1116 
1117  try
1118  {
1119  this.myKernel.SetFocus("All_MethodsObj_Exception");
1120  Assert.Fail();
1121  }
1122  catch (OKWFrameObjectChildNotFoundException e)
1123  {
1124  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1125  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1126  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1127  }
1128  catch (Exception e)
1129  {
1130  System.Console.WriteLine("Exception: " + e.Message);
1131  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1132  }
1133  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SetValue_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1146  {
1147  this.myKernel.SelectWindow("Rechner");
1148  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1149  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1150  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1151 
1152  try
1153  {
1154  this.myKernel.SetValue("All_MethodsObj_Exception", "Wert");
1155  Assert.Fail();
1156  }
1157  catch (OKWFrameObjectChildNotFoundException e)
1158  {
1159  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1160  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1161  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1162  }
1163  catch (Exception e)
1164  {
1165  System.Console.WriteLine("Exception: " + e.Message);
1166  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1167  }
1168  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_TypeKey_Exception ( )

Prüft, ob ein einzelner Wert, oder ein einzelne Zeile an Type key Übertragen wird. Testziel: OKWFrameObjectChildNotFoundException auslösen

Author
Zoltan Hrabovszki
Date
2013.12.26
1218  {
1219  this.myKernel.SelectWindow("Rechner");
1220 
1221  // Check the Name, Called Method and Value of Actuel object
1222  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1223  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1224  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1225 
1226  try
1227  {
1228  this.myKernel.TypeKey("All_MethodsObj_Exception", "Wert");
1229  Assert.Fail();
1230  }
1231  catch (OKWFrameObjectChildNotFoundException e)
1232  {
1233  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1234  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1235  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1236  }
1237  catch (Exception e)
1238  {
1239  System.Console.WriteLine("Exception: " + e.GetType().FullName);
1240  System.Console.WriteLine("Nachricht: " + e.Message);
1241  Assert.Fail("Falsche Exception: " + e.Message);
1242  }
1243  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_TypeKeyTablecell_Exception ( )

Prüft, ob ein einzelner Wert, oder ein einzelne Zeile an Type key Übertragen wird. Testziel: OKWFrameObjectChildNotFoundException auslösen.

Author
Zoltan Hrabovszki
Date
2013.12.26
1181  {
1182  this.myKernel.SelectWindow("Rechner");
1183 
1184  // Check the Name, Called Method and Value of Actuel object
1185  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1186  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1187  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1188 
1189  try
1190  {
1191  this.myKernel.TypeKeyTablecell("All_MethodsObj_Exception", "1", "2", "CTRL A");
1192  Assert.Fail();
1193  }
1194  catch (OKWFrameObjectChildNotFoundException e)
1195  {
1196  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1197  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1198  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1199  }
1200  catch (Exception e)
1201  {
1202  System.Console.WriteLine("Exception: " + e.Message);
1203  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1204  }
1205  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyCaption_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VerifyTooltip mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1495  {
1496  // Testscript in Schlüsselwort-Notation
1497  this.myKernel.SelectWindow("Rechner");
1498 
1499  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1500  // Check the Name, Called Method and Value of Actuel object
1501  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1502  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1503  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1504 
1505  try
1506  {
1507  this.myKernel.VerifyCaption("All_MethodsObj_Exception", "Sollwert");
1508  Assert.Fail();
1509  }
1510  catch (OKWFrameObjectChildNotFoundException e)
1511  {
1512  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1513  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1514  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1515  }
1516  catch (Exception e)
1517  {
1518  System.Console.WriteLine("Exception: " + e.Message);
1519  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1520  }
1521  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyExists_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1259  {
1260  // Testscript in Schlüsselwort-Notation
1261  this.myKernel.SelectWindow("Rechner");
1262 
1263  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1264  // Check the Name, Called Method and Value of Actuel object
1265  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1266  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1267  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1268 
1269  try
1270  {
1271  this.myKernel.VerifyExists("All_MethodsObj_Exception", "YES");
1272  Assert.Fail();
1273  }
1274  catch (OKWFrameObjectChildNotFoundException e)
1275  {
1276  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1277  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1278  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1279  }
1280  catch (Exception e)
1281  {
1282  System.Console.WriteLine("Exception: " + e.Message);
1283  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1284  }
1285  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyHasFocus_Exception ( )
Author
Zoltan Hrabovszki
Date
2013.12.26
1299  {
1300  // Testscript in Schlüsselwort-Notation
1301  this.myKernel.SelectWindow("Rechner");
1302 
1303  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1304  // Check the Name, Called Method and Value of Actuel object
1305  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1306  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1307  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1308 
1309  try
1310  {
1311  this.myKernel.VerifyHasFocus("All_MethodsObj_Exception", "YES");
1312  Assert.Fail();
1313  }
1314  catch (OKWFrameObjectChildNotFoundException e)
1315  {
1316  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1317  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1318  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1319  }
1320  catch (Exception e)
1321  {
1322  System.Console.WriteLine("Exception: " + e.Message);
1323  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1324  }
1325  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyIsActive_Exception ( )

Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Prüft die Exceptionauslösung beim Methodenaufruf VerifyIsActive mit einem einzelnen Wert.

Author
Zoltan Hrabovszki
Date
2013.12.26
1339  {
1340  this.myKernel.SelectWindow("Rechner");
1341 
1342  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1343  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1344  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1345  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1346 
1347  try
1348  {
1349  this.myKernel.VerifyIsActive("All_MethodsObj_Exception", "YES");
1350  Assert.Fail();
1351  }
1352  catch (OKWFrameObjectChildNotFoundException e)
1353  {
1354  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1355  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1356  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1357  }
1358  catch (Exception e)
1359  {
1360  System.Console.WriteLine("Exception: " + e.Message);
1361  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1362  }
1363  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyLabel_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VerifyTooltip mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1534  {
1535  // Testscript in Schlüsselwort-Notation
1536  this.myKernel.SelectWindow("Rechner");
1537 
1538  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1539  // Check the Name, Called Method and Value of Actuel object
1540  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1541  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1542  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1543 
1544  try
1545  {
1546  this.myKernel.VerifyLabel("All_MethodsObj_Exception", "Sollwert");
1547  Assert.Fail();
1548  }
1549  catch (OKWFrameObjectChildNotFoundException e)
1550  {
1551  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1552  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1553  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1554  }
1555  catch (Exception e)
1556  {
1557  System.Console.WriteLine("Exception: " + e.Message);
1558  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1559  }
1560  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifySelectedValue_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VerifySelectedValue mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1377  {
1378  // Testscript in Schlüsselwort-Notation
1379  this.myKernel.SelectWindow("Rechner");
1380 
1381  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1382  // Check the Name, Called Method and Value of Actuel object
1383  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1384  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1385  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1386 
1387  try
1388  {
1389  this.myKernel.VerifySelectedValue("All_MethodsObj_Exception", "Sollwert");
1390  Assert.Fail();
1391  }
1392  catch (OKWFrameObjectChildNotFoundException e)
1393  {
1394  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1395  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1396  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1397  }
1398  catch (Exception e)
1399  {
1400  System.Console.WriteLine("Exception: " + e.Message);
1401  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1402  }
1403  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyTablecellValue_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VeryfyTablecellValue mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1416  {
1417  // Testscript in Schlüsselwort-Notation
1418  this.myKernel.SelectWindow("Rechner");
1419 
1420  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1421  // Check the Name, Called Method and Value of Actuel object
1422  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1423  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1424  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1425  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1426 
1427  try
1428  {
1429  this.myKernel.VerifyTablecellValue("All_MethodsObj_Exception", "Col", "Row", "Sollwert");
1430  Assert.Fail();
1431  }
1432  catch (OKWFrameObjectChildNotFoundException e)
1433  {
1434  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1435  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1436  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1437  }
1438  catch (Exception e)
1439  {
1440  System.Console.WriteLine("Exception: " + e.Message);
1441  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1442  }
1443  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyTooltip_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VerifyTooltip mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1456  {
1457  // Testscript in Schlüsselwort-Notation
1458  this.myKernel.SelectWindow("Rechner");
1459 
1460  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1461  // Check the Name, Called Method and Value of Actuel object
1462  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1463  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1464  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1465 
1466  try
1467  {
1468  this.myKernel.VerifyTooltip("All_MethodsObj_Exception", "Sollwert");
1469  Assert.Fail();
1470  }
1471  catch (OKWFrameObjectChildNotFoundException e)
1472  {
1473  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1474  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1475  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1476  }
1477  catch (Exception e)
1478  {
1479  System.Console.WriteLine("Exception: " + e.Message);
1480  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1481  }
1482  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyValue_Exception ( )

Prüft die Exceptionauslösung beim Methodenaufruf VarifyValueValue mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjectChildNotFoundException wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1573  {
1574  // Testscript in Schlüsselwort-Notation
1575  this.myKernel.SelectWindow("Rechner");
1576 
1577  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1578  // Check the Name, Called Method and Value of Actuel object
1579  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1580  Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1581  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1582  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1583 
1584  try
1585  {
1586  this.myKernel.VerifyValue("All_MethodsObj_Exception", "Sollwert");
1587  Assert.Fail();
1588  }
1589  catch (OKWFrameObjectChildNotFoundException e)
1590  {
1591  Logger.Instance.LogPrint("OKWFrameObjectChildNotFoundException: " + e.Message);
1592  Assert.AreEqual("Frame-Object not Found: Childobject 'All_MethodsObj_Exception' of Window 'frm_Rechner' not found!", e.Message);
1593  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1594  }
1595  catch (Exception e)
1596  {
1597  System.Console.WriteLine("Exception: " + e.Message);
1598  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1599  }
1600  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.TC_SelectWindow_Exception ( )

Prüft den Methodenaufruf Select mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjektWindowNotFound auslösen.

Author
Zoltan Hrabovszki
Date
2013.12.26
1613  {
1614  try
1615  {
1616  this.myKernel.SelectWindow("Rechner_Exception");
1617  Assert.Fail("Erwarteter Exception 'OKWFrameObjectWindowNotFoundException' wurde >>nicht<< ausgelöst, das sit");
1618  }
1619  catch (OKWFrameObjectWindowNotFoundException e)
1620  {
1621  Logger.Instance.LogPrint("OKWFrameObjectWindowNotFoundException: " + e.Message);
1622  Assert.AreEqual("Frame-Object not Found: Defintion of Window 'frm_Rechner_Exception' does not exists!", e.Message);
1623  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1624  }
1625  catch (Exception e)
1626  {
1627  System.Console.WriteLine("Exception: " + e.GetType().FullName);
1628  System.Console.WriteLine("Nachricht: " + e.Message);
1629  Assert.Fail("Falsche Exception: " + e.Message);
1630  }
1631  }
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.TC_Sequence ( )

Prüft die Exceptionauslösung beim Methodenaufruf Sequence mit einem einzelnen Wert. Prüft Ziel: OKWFrameObjektWindowNotFound wurde ausgelöst

Author
Zoltan Hrabovszki
Date
2013.12.26
1644  {
1645  // Testscript in Schlüsselwort-Notation
1646  this.myKernel.SelectWindow("Rechner");
1647 
1648  // Soll/Ist-Vergleich: Ist das Richtige Fenster gesetzt?
1649  // Check the Name, Called Method and Value of Actuel object
1650  Assert.AreEqual("NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1651  Assert.AreEqual("frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1652  Assert.AreEqual("SelectWindow()", OKW_TestClipboard.Instance.Method);
1653 
1654  try
1655  {
1656  // Frame für RechnerException gibt es nicht -> OKWFrameObjectWindowNotFoundException auslösen
1657  this.myKernel.Sequence("RechnerException", "TestSequence", "SEQID_Test");
1658  Assert.Fail();
1659  }
1660  catch (OKWFrameObjectWindowNotFoundException e)
1661  {
1662  Logger.Instance.LogPrint("OKWFrameObjectWindowNotFoundException: " + e.Message);
1663  Assert.AreEqual("Frame-Object not Found: Defintion of Window 'frm_RechnerException' does not exists!", e.Message);
1664  Assert.Pass("KernelException wurde ausgelöst, das ist für diesen Test OK!");
1665  }
1666  catch (Exception e)
1667  {
1668  System.Console.WriteLine("Exception: " + e.Message);
1669  Assert.Fail("Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
1670  }
1671  }

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