AnaestheticAudit::saveASAAndConfirm PHP Method

saveASAAndConfirm() public method

public saveASAAndConfirm ( )
    public function saveASAAndConfirm()
    {
        $this->getElement('save')->click();
        $this->getSession()->wait(5000, 'window.$ && $.active == 0');
        if ($this->hasASASaved()) {
            print "ASA has been saved OK";
        } else {
            throw new BehaviorException("WARNING!!!  ASA has NOT been saved!!  WARNING!!");
        }
    }