Closed Hrabovszki1023 closed 8 years ago
As a functional tester I need wildcard-placeholder to mask varying areas.
VerifyLabelWCM( "Name", "?oltan" )
VerifyLabelWCM( "Name", "*Zoltan*" )
VerifyLabelWCM( "Time", "##:## AM" )
IOKW_State
OK
NOK
Core
Use case with ANTLR/OKWParser:
${IGNORE}
""
${EMPTY}
OKWFrameObjectMethodNotFoundException
OKWFrameObjectChildNotFoundException
VerifyExist(„OK“,“Uschi“)
OKWNotAllowedValueException
Done
As a functional tester I need wildcard-placeholder to mask varying areas.
Example for "WCM" Wildcard Match
VerifyLabelWCM( "Name", "?oltan" )
- Exact one char -> Match with "Zoltan", "Soltan" "xoltan" ...VerifyLabelWCM( "Name", "*Zoltan*" )
- [0-n] Characters -> String contains "Zoltan"VerifyLabelWCM( "Time", "##:## AM" )
- # match one number (0...9)Done-list:
Implementation:
IOKW_State
defined.OK
– LFC (Latebound Function Call) implementedNOK
– LFC implementedCore
Unit tests:
Use case with ANTLR/OKWParser:
${IGNORE}
and""
as values.${EMPTY}
(VerifyCaption-Keyword)Exception test cases:
OKWFrameObjectMethodNotFoundException
OKWFrameObjectChildNotFoundException
VerifyExist(„OK“,“Uschi“)
-> expected Exception:OKWNotAllowedValueException