Merrill Lynch
Background
A naming convention I proposed while working on the TGA project at Merrill Lynch. The naming rules are stated in a modified BNF notation. My changes to the standard notation include the following:
- Rules are enclosed in braces ( { } )
- Pipe characters ( || ) denote concatenation
- Comments are used in rule specifications
Test Script Conventions
The Test Plans and Scripts are in DOS compatible 8.3 format and are named as follows:
Book ::= { Shell | Client | Product | Research | Markets | News | BusMgt | Desktop | Order } AppFunction ::= { An analyst defined acronym of the Function field taken from the list in AQA’s Access Database limited to 8 characters. } BK2 ::= { Sh | Cl | Pr | Re | Ma | Ne | Bu | De | Or } ID ::= { (0 .. 9) } Suffix ::= { .pln | .doc | .t | .inc | .bmp | .opt } TestPlan ::= { Book || Suffix } TestScriptFile ::= { AppFunction || Suffix }
Test Plan Examples: Client.pln, News.doc
Test Script Examples: PosSec.t, AllocDet.doc
Naming Conventions for Include Files
IncludeFile ::= { ( Book | TestScript ) || Suffix }
Include File Examples: Client.inc, GUIs0001.inc
Naming Conventions for BitMap Files
Delimiter ::= { _ } Increment ::= { Delimiter || ID} BitMapFile ::= { BK2 || Increment || Suffix }
BitMap File Examples: Cl_00001.bmp, Sh_00400.bmp
Naming Conventions for Option Files
Analyst ::= { charlesS | jerryS | joannJ | larryM | rickC } OptionFile ::= { Analyst || Suffix }
Option File Example: joannJ.opt
Test Case Naming Conventions
Action ::= { Accept | Capture | Check | Clear | Click | DoubleClick | Close | ClearText | Collapse | Enter | Expand | FindItem | Get | GetContents | GetFont | GetItemCount | GetItemText | GetPageSize | GetPosition | GetRange | GetSelectedItem | GetSelectedText | GetSize | GetText | IsBold | IsGreyed | IsItalic | IsUnderLine | Pick | Press | Print | Scroll | ScrollByLine | ScrollByPage | ScrollToMax | ScrollToMin | Select | SetText | Toggle | Type | Verify | VerifyContents | VerifyText | VerifyValue | Uncheck } Object ::= { CheckBox | ComboBox | DynamicText | Header | ListBox | ListView | MenuItem | PageList | PopupList | PushButton | RadioButton | RadioList | Scale | ScrollBar | StaticText | StatusBar | TextField | ToolBar | TreeView | UpDown } Connective ::= { To | From | And | For } Logical ::= { EQ | NEQ | GT | LT | GE | LE | TRUE | FALSE } GUIState ::= { Enabled | Disabled } Alpha ::= { (A-Z) (a-z) } Numeric ::= { (0-9) } ObjectName ::= { Alpha | Numeric } ObjectValue ::= { Logical | Alpha | Numeric } TestCaseName ::= { Action || ObjectName || [( Logical | Connective)] || [( ObjectValue | GUIState )] }
Sample Test Case Names
Test Case Description: Navigate to the Client Book.
ClickBKClient
Test Case Descripton: Verify variance amounts sum to 0.
VerifyVarSumEQZero
Test Case Description: Verify Sort buttons are disabled.
VerifySortPushButtonDisabled