From 5d402a29fbc71081a449100b6c352ec1c7163776 Mon Sep 17 00:00:00 2001 From: Joseph Snyder Date: Thu, 9 Oct 2014 14:51:09 -0400 Subject: [PATCH] Fix Registration RAS test prompt Fix the Registration's RAS test script. A change is necessary when the adt_smoke_test call of the "Summary of Dispositions" option asks for a start date. if the start date falls on the first of the month, there will be an extra prompt to ask if it wants statistics for the whole month that the script doesn't account for. OSEHRA-Id: http://issues.osehra.org/browse/OAT-145 Change-Id: I4edbbd35f179c9ee6c69fed3d8d430ebd0b97f6b --- Testing/Functional/RAS/lib/ADTActions.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Testing/Functional/RAS/lib/ADTActions.py b/Testing/Functional/RAS/lib/ADTActions.py index 79205dc6c..8d07bc51a 100644 --- a/Testing/Functional/RAS/lib/ADTActions.py +++ b/Testing/Functional/RAS/lib/ADTActions.py @@ -935,7 +935,10 @@ def adt_menu_smoke(self, ssn): self.VistA.write('Summary') self.VistA.wait('START DATE:') self.VistA.write('t-100') - self.VistA.wait('END DATE') + index = self.VistA.multiwait(['END DATE','Run statistics']) + if index == 1: + self.VistA.write('N') + self.VistA.wait('END DATE') self.VistA.write('t') self.VistA.wait('DEVICE') self.VistA.write('HOME')