added get_popup_and_close function call in create_chamberview.py

added get_popup_and_close function in create_chamberview_dut.py

Signed-off-by: sushant <sushant.bawiskar@candelatech.com>
This commit is contained in:
Sushant Bawiskar
2021-05-07 22:11:22 +05:30
committed by sushant
parent a7cf234eeb
commit 94d7949eed
2 changed files with 9 additions and 0 deletions

View File

@@ -472,3 +472,11 @@ class cv_test(Realm):
def get_response_string(self, response):
return response[0]["LAST"]["response"]
def get_popup_info_and_close(self):
cmd = "cv get_and_close_dialog"
dialog = self.run_cv_cmd(cmd);
if dialog[0]["LAST"]["response"] != "NO-DIALOG":
print("Popup Dialog:\n")
print(dialog[0]["LAST"]["response"])

View File

@@ -156,6 +156,7 @@ class CreateChamberview(cv):
self.build_cv_scenario() # build scenario
tries = 0
while (True):
self.get_popup_info_and_close()
if not self.get_cv_is_built():
print("Waiting %i/60 for Chamber-View to be built." % (tries))
tries += 1