1 # -*- coding: utf-8 -*-
3 # This file contains hook functions to run as the .feature file is executed.
5 # A common use-case is to use the OnScenarioStart/OnScenarioEnd hooks to
6 # start and stop an AUT, e.g.
10 # startApplication("addressbook")
14 # currentApplicationContext().detach()
16 # See the section 'Performing Actions During Test Execution Via Hooks' in the Squish
17 # manual for a complete reference of the available API.
21 # Detach (i.e. potentially terminate) all AUTs at the end of a scenario
24 source(findFile("scripts", "common.py"))
27 for ctx in applicationContextList():