Code: Select all
class ItemEntry : Step
Main()
Print ("{this.sStepName} step : Begins")
Print ("{this.sStepName} step : Item being entered")
LogData (ItemData, "{this.sStepName} step : Items being entered")
LogError ("{this.sStepName} step : An error occurred entering Item")
throw Exception ("{this.sStepName} step : An exception thrown entering Item")
Print ("{this.sStepName} step : Ends")
This attribute is not documented in Step class section of the AscentialTest help file and may not be a supported feature or available in future releases. However, when editing in the Source Editor, typing "Step." will show "sStepName" as autocomplete option which is how this attribute was discovered.