|
static void | MyTestFixtureSetUp () |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_ClickOn_Clicktype_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014.03.24
103 this.myKernel.SelectWindow(
"Rechner");
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);
113 this.myKernel.ClickOn(
"All_MethodsObj_Exception",
"DOUBLEKLICK");
116 catch (OKWFrameObjectChildNotFoundException e)
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!");
124 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
125 System.Console.WriteLine(
"Nachricht: " + e.Message);
126 Assert.Fail(
"Falsche Exception: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_ClickOn_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014.03.24
143 this.myKernel.SelectWindow(
"Rechner");
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);
153 this.myKernel.ClickOn(
"All_MethodsObj_Exception");
156 catch (OKWFrameObjectChildNotFoundException e)
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!");
164 System.Console.WriteLine(
"Exception: " + e.Message);
165 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogCaption_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
454 this.myKernel.SelectWindow(
"Rechner");
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);
464 this.myKernel.LogCaption(
"All_MethodsObj_Exception");
467 catch (OKWFrameObjectChildNotFoundException e)
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!");
475 System.Console.WriteLine(
"Exception: " + e.Message);
476 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogExists_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
182 this.myKernel.SelectWindow(
"Rechner");
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);
192 this.myKernel.LogExists(
"All_MethodsObj_Exception");
195 catch (OKWFrameObjectChildNotFoundException e)
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!");
203 System.Console.WriteLine(
"Exception: " + e.Message);
204 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogHasFocus_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
221 this.myKernel.SelectWindow(
"Rechner");
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);
231 this.myKernel.LogHasFocus(
"All_MethodsObj_Exception");
234 catch (OKWFrameObjectChildNotFoundException e)
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!");
242 System.Console.WriteLine(
"Exception: " + e.Message);
243 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogIsActive_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
260 this.myKernel.SelectWindow(
"Rechner");
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);
270 this.myKernel.LogIsActive(
"All_MethodsObj_Exception");
273 catch (OKWFrameObjectChildNotFoundException e)
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!");
281 System.Console.WriteLine(
"Exception: " + e.Message);
282 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogLabel_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
415 this.myKernel.SelectWindow(
"Rechner");
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);
425 this.myKernel.LogLabel(
"All_MethodsObj_Exception");
428 catch (OKWFrameObjectChildNotFoundException e)
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!");
436 System.Console.WriteLine(
"Exception: " + e.Message);
437 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogSelected_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
298 this.myKernel.SelectWindow(
"Rechner");
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);
308 this.myKernel.LogSelected(
"All_MethodsObj_Exception");
311 catch (OKWFrameObjectChildNotFoundException e)
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!");
319 System.Console.WriteLine(
"Exception: " + e.Message);
320 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogTablecellValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
337 this.myKernel.SelectWindow(
"Rechner");
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);
347 this.myKernel.LogTablecellValue(
"All_MethodsObj_Exception",
"Col",
"Row");
350 catch (OKWFrameObjectChildNotFoundException e)
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!");
358 System.Console.WriteLine(
"Exception: " + e.Message);
359 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogTooltip_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
376 this.myKernel.SelectWindow(
"Rechner");
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);
386 this.myKernel.LogTooltip(
"All_MethodsObj_Exception");
389 catch (OKWFrameObjectChildNotFoundException e)
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!");
397 System.Console.WriteLine(
"Exception: " + e.Message);
398 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_LogValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
493 this.myKernel.SelectWindow(
"Rechner");
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);
503 this.myKernel.LogValue(
"All_MethodsObj_Exception");
506 catch (OKWFrameObjectChildNotFoundException e)
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!");
514 System.Console.WriteLine(
"Exception: " + e.Message);
515 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeCaption_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
766 this.myKernel.SelectWindow(
"Rechner");
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);
776 this.myKernel.MemorizeCaption(
"All_MethodsObj_Exception",
"OK_TC_MemorizeCaption");
779 catch (OKWFrameObjectChildNotFoundException e)
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!");
787 System.Console.WriteLine(
"Exception: " + e.Message);
788 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeExists_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
532 this.myKernel.SelectWindow(
"Rechner");
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);
542 this.myKernel.MemorizeExists(
"All_MethodsObj_Exception",
"Key_TC_MemorizeExists");
545 catch (OKWFrameObjectChildNotFoundException e)
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!");
553 System.Console.WriteLine(
"Exception: " + e.Message);
554 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeHasFocus_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
571 this.myKernel.SelectWindow(
"Rechner");
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);
581 this.myKernel.MemorizeHasFocus(
"All_MethodsObj_Exception",
"Key_TC_Memorize_Focus");
584 catch (OKWFrameObjectChildNotFoundException e)
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!");
592 System.Console.WriteLine(
"Exception: " + e.Message);
593 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeIsActive_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2014.01.04
610 this.myKernel.SelectWindow(
"Rechner");
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);
620 this.myKernel.MemorizeIsActive(
"All_MethodsObj_Exception",
"OK_TC_MemorizeIsActive");
623 catch (OKWFrameObjectChildNotFoundException e)
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!");
631 System.Console.WriteLine(
"Exception: " + e.Message);
632 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeLabel_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
805 this.myKernel.SelectWindow(
"Rechner");
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);
815 this.myKernel.MemorizeLabel(
"All_MethodsObj_Exception",
"OK_TC_MemorizeLabel");
818 catch (OKWFrameObjectChildNotFoundException e)
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!");
826 System.Console.WriteLine(
"Exception: " + e.Message);
827 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeSelectedValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
649 this.myKernel.SelectWindow(
"Rechner");
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);
659 this.myKernel.MemorizeSelectedValue(
"All_MethodsObj_Exception",
"OK_TC_MemorizeIsActive");
662 catch (OKWFrameObjectChildNotFoundException e)
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!");
670 System.Console.WriteLine(
"Exception: " + e.Message);
671 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeTablecellValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
688 this.myKernel.SelectWindow(
"Rechner");
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);
698 this.myKernel.MemorizeTablecellValue(
"All_MethodsObj_Exception",
"Col",
"Row",
"OK_TC_MemorizeIsActive");
701 catch (OKWFrameObjectChildNotFoundException e)
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!");
709 System.Console.WriteLine(
"Exception: " + e.Message);
710 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeTooltip_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
727 this.myKernel.SelectWindow(
"Rechner");
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);
737 this.myKernel.MemorizeTooltip(
"All_MethodsObj_Exception",
"OK_TC_MemorizeTooltip");
740 catch (OKWFrameObjectChildNotFoundException e)
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!");
748 System.Console.WriteLine(
"Exception: " + e.Message);
749 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_MemorizeValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
844 this.myKernel.SelectWindow(
"Rechner");
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);
854 this.myKernel.MemorizeValue(
"All_MethodsObj_Exception",
"OK_TC_MemorizeValue");
857 catch (OKWFrameObjectChildNotFoundException e)
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!");
865 System.Console.WriteLine(
"Exception: " + e.Message);
866 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_Select_ClickType_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
1036 this.myKernel.SelectWindow(
"Rechner");
1039 Assert.AreEqual(
"frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1040 Assert.AreEqual(
"SelectWindow()", OKW_TestClipboard.Instance.Method);
1042 Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1043 Assert.AreEqual(
"NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1047 this.myKernel.Select(
"All_MethodsObj_Exception",
"Hanna",
"DoubleKlick");
1048 Assert.Fail(
"Erwarteter Exception ist ausgelöst worden");
1050 catch (OKWFrameObjectChildNotFoundException e)
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!");
1058 System.Console.WriteLine(
"Exception: " + e.Message);
1059 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_Select_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
1075 this.myKernel.SelectWindow(
"Rechner");
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]);
1084 this.myKernel.Select(
"All_MethodsObj_Exception",
"Hanna");
1087 catch (OKWFrameObjectChildNotFoundException e)
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!");
1095 System.Console.WriteLine(
"Exception: " + e.Message);
1096 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectMenu_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
883 this.myKernel.SelectWindow(
"Rechner");
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);
893 this.myKernel.SelectMenu(
"All_MethodsObj_Exception");
896 catch (OKWFrameObjectChildNotFoundException e)
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!");
904 System.Console.WriteLine(
"Exception: " + e.Message);
905 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectMenu_Value_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
922 this.myKernel.SelectWindow(
"Rechner");
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);
932 this.myKernel.SelectMenu(
"All_MethodsObj_Exception",
"Hanna");
935 catch (OKWFrameObjectChildNotFoundException e)
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!");
943 System.Console.WriteLine(
"Exception: " + e.Message);
944 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectTablecell_ClickType_Exveption |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
960 this.myKernel.SelectWindow(
"Rechner");
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]);
969 this.myKernel.SelectTablecell(
"All_MethodsObj_Exception",
"COL",
"ROW",
"DOUBLECLICK");
972 catch (OKWFrameObjectChildNotFoundException e)
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!");
980 System.Console.WriteLine(
"Exception: " + e.Message);
981 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SelectTablecell_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
997 this.myKernel.SelectWindow(
"Rechner");
1000 Assert.AreEqual(
"frm_Rechner", OKW_TestClipboard.Instance.ObjectName);
1001 Assert.AreEqual(
"SelectWindow()", OKW_TestClipboard.Instance.Method);
1003 Assert.AreEqual(1, OKW_TestClipboard.Instance.Value.Count);
1004 Assert.AreEqual(
"NO VALUE", OKW_TestClipboard.Instance.Value[0]);
1008 this.myKernel.SelectTablecell(
"All_MethodsObj_Exception",
"COL",
"ROW");
1011 catch (OKWFrameObjectChildNotFoundException e)
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!");
1019 System.Console.WriteLine(
"Exception: " + e.Message);
1020 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SetFocus_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
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);
1119 this.myKernel.SetFocus(
"All_MethodsObj_Exception");
1122 catch (OKWFrameObjectChildNotFoundException e)
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!");
1130 System.Console.WriteLine(
"Exception: " + e.Message);
1131 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_SetValue_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
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);
1154 this.myKernel.SetValue(
"All_MethodsObj_Exception",
"Wert");
1157 catch (OKWFrameObjectChildNotFoundException e)
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!");
1165 System.Console.WriteLine(
"Exception: " + e.Message);
1166 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1219 this.myKernel.SelectWindow(
"Rechner");
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]);
1228 this.myKernel.TypeKey(
"All_MethodsObj_Exception",
"Wert");
1231 catch (OKWFrameObjectChildNotFoundException e)
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!");
1239 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
1240 System.Console.WriteLine(
"Nachricht: " + e.Message);
1241 Assert.Fail(
"Falsche Exception: " + e.Message);
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
1182 this.myKernel.SelectWindow(
"Rechner");
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]);
1191 this.myKernel.TypeKeyTablecell(
"All_MethodsObj_Exception",
"1",
"2",
"CTRL A");
1194 catch (OKWFrameObjectChildNotFoundException e)
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!");
1202 System.Console.WriteLine(
"Exception: " + e.Message);
1203 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1497 this.myKernel.SelectWindow(
"Rechner");
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);
1507 this.myKernel.VerifyCaption(
"All_MethodsObj_Exception",
"Sollwert");
1510 catch (OKWFrameObjectChildNotFoundException e)
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!");
1518 System.Console.WriteLine(
"Exception: " + e.Message);
1519 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyExists_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
1261 this.myKernel.SelectWindow(
"Rechner");
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);
1271 this.myKernel.VerifyExists(
"All_MethodsObj_Exception",
"YES");
1274 catch (OKWFrameObjectChildNotFoundException e)
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!");
1282 System.Console.WriteLine(
"Exception: " + e.Message);
1283 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
void OKW.Core_Test.Core_Test.Core_OKWFrameObjectFoundException_Test_.OK_TC_VerifyHasFocus_Exception |
( |
| ) |
|
- Author
- Zoltan Hrabovszki
- Date
- 2013.12.26
1301 this.myKernel.SelectWindow(
"Rechner");
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);
1311 this.myKernel.VerifyHasFocus(
"All_MethodsObj_Exception",
"YES");
1314 catch (OKWFrameObjectChildNotFoundException e)
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!");
1322 System.Console.WriteLine(
"Exception: " + e.Message);
1323 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1340 this.myKernel.SelectWindow(
"Rechner");
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);
1349 this.myKernel.VerifyIsActive(
"All_MethodsObj_Exception",
"YES");
1352 catch (OKWFrameObjectChildNotFoundException e)
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!");
1360 System.Console.WriteLine(
"Exception: " + e.Message);
1361 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1536 this.myKernel.SelectWindow(
"Rechner");
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);
1546 this.myKernel.VerifyLabel(
"All_MethodsObj_Exception",
"Sollwert");
1549 catch (OKWFrameObjectChildNotFoundException e)
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!");
1557 System.Console.WriteLine(
"Exception: " + e.Message);
1558 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1379 this.myKernel.SelectWindow(
"Rechner");
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);
1389 this.myKernel.VerifySelectedValue(
"All_MethodsObj_Exception",
"Sollwert");
1392 catch (OKWFrameObjectChildNotFoundException e)
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!");
1400 System.Console.WriteLine(
"Exception: " + e.Message);
1401 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1418 this.myKernel.SelectWindow(
"Rechner");
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);
1429 this.myKernel.VerifyTablecellValue(
"All_MethodsObj_Exception",
"Col",
"Row",
"Sollwert");
1432 catch (OKWFrameObjectChildNotFoundException e)
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!");
1440 System.Console.WriteLine(
"Exception: " + e.Message);
1441 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1458 this.myKernel.SelectWindow(
"Rechner");
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);
1468 this.myKernel.VerifyTooltip(
"All_MethodsObj_Exception",
"Sollwert");
1471 catch (OKWFrameObjectChildNotFoundException e)
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!");
1479 System.Console.WriteLine(
"Exception: " + e.Message);
1480 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1575 this.myKernel.SelectWindow(
"Rechner");
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);
1586 this.myKernel.VerifyValue(
"All_MethodsObj_Exception",
"Sollwert");
1589 catch (OKWFrameObjectChildNotFoundException e)
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!");
1597 System.Console.WriteLine(
"Exception: " + e.Message);
1598 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
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
1616 this.myKernel.SelectWindow(
"Rechner_Exception");
1617 Assert.Fail(
"Erwarteter Exception 'OKWFrameObjectWindowNotFoundException' wurde >>nicht<< ausgelöst, das sit");
1619 catch (OKWFrameObjectWindowNotFoundException e)
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!");
1627 System.Console.WriteLine(
"Exception: " + e.GetType().FullName);
1628 System.Console.WriteLine(
"Nachricht: " + e.Message);
1629 Assert.Fail(
"Falsche Exception: " + e.Message);
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
1646 this.myKernel.SelectWindow(
"Rechner");
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);
1657 this.myKernel.Sequence(
"RechnerException",
"TestSequence",
"SEQID_Test");
1660 catch (OKWFrameObjectWindowNotFoundException e)
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!");
1668 System.Console.WriteLine(
"Exception: " + e.Message);
1669 Assert.Fail(
"Es wurde ein nicht erwarteter Exception ausgelöst: " + e.Message);
The documentation for this class was generated from the following file:
- OKW/Test/Core/Core_OKWFrameObjectFoundException_Test_.cs