define var in alert test view