Академический Документы
Профессиональный Документы
Культура Документы
Best Practices
Naming Conventions
December 2016
2013 Worksoft, Inc. All rights reserved. Worksoft and Worksoft Certify are registered trademarks
of Worksoft, Inc. All other marks are property of their respective owners.
Best Practices Naming Conventions
Example: OrderType
Ship-to party
Exp.date (Ex: if field is “Expiration Date” then make use
of Exp. Date rather than create a new variable)
If a field needs more than one variable (ex: Req. deliv.date), then delimit
the variable with a _VariantName
If a variable needs to be assigned more than one value at the same time,
for example, to compare values, then the same variable name should be
used with a ‘#’ to indicate that it indeed is a necessary variable and not a
duplicate of an existing variable.
Format: TCode_Description1_Description2_Description3
Component_ComponentDescription
Example: VA01_CreateStandardOrder_SingleItem
Example: VA01_CreateContractOrder_MultipleItems
Example WebOrder_SelectionPane
Example: VA01_CreateContractOrder_MultipleItems
Example: VA01_CreateContractOrder_MultipleItems_C_TableInput
Format: Transaction_IT<ITypeNumber>_<InfoTypetext>_<Country or
State>
Examples:
PA40_IT0068_GarnishmentCompensation_CA
PA40_IT0068_NewInitialBalance
PA40_IT0071_PensionFunds_GB
Remove spaces from descriptions and capitalize the first letter of each
word
Integrated Processes only contain calls to other processes and
Comments.
Format: ApplicationArea_Description1_Description2_Description3
Example: O2C_ShipBill_ConstantQuote
CRM_CustomOrder_ProcessThroughSAP
WebOrder_FromBrowser_ToSAP_ToMainframe
Data Layouts
Highlight the Certify Process name while in the process data editor, then
use the copy function. When creating the new layout, paste the copied
process name into the layout name field.
Provide a description, if needed
Most Certify processes have only one layout associated with it. However,
there may be a need to have more than one. In this case, use the same
name as the original layout and add a variant identifier
Example:
Process Name = MM01_CreateMasterData
Primary Layout Name = MM01_CreateMasterData
Recordsets
Recordset names will, in most cases, match the client’s test case or test
scenario name.
Any number of recordsets are possible for any given test
Example:
Process Name = VA01_StandardOrder
Layout Name = VA01_StandardOrder
Recordset Name = VA01_StandardOrder_InternationalCustomers
Recordset Name = VA01_StandardOrder_NationalCustomers
Example:
Integrated Test Name = O2C_ShipBill_ContractQuote
Layout Name = O2C_ShipBill_ContractQuote
Recordset Name = O2C_ShipBill_TestCase001_Europe
Recordset Name = O2C_ShipBill_TestCase002_China
Name the object using a generalized name rather than a specific name
+ (REPLACEME=inner text)
Example: Dynamic Link (REPLACEME=inner text)
Example: Dynamic Window (REPLACEME=caption)
Example:
Original Object Attributes: …<V criteria=”contains”>News Feed</V>…
Example:
Modified Object Attributes: …<V criteria=”contains”>REPLACEME</V>…