From eb5524fa6882eb8e7e5b9bcd8edf87fd9fd9b2a2 Mon Sep 17 00:00:00 2001 From: Anup Nehe Date: Fri, 6 Oct 2023 17:48:30 +0530 Subject: [PATCH] zone --- .../java/io/mosip/testrig/adminui/testcase/CenterTest.java | 6 +++++- .../java/io/mosip/testrig/adminui/testcase/MachineTest.java | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/admintest/src/main/java/io/mosip/testrig/adminui/testcase/CenterTest.java b/admintest/src/main/java/io/mosip/testrig/adminui/testcase/CenterTest.java index 13e14359..d0d9acc4 100644 --- a/admintest/src/main/java/io/mosip/testrig/adminui/testcase/CenterTest.java +++ b/admintest/src/main/java/io/mosip/testrig/adminui/testcase/CenterTest.java @@ -69,7 +69,11 @@ public void centerCRUD() throws Exception { Commons.dropdown(test,driver, By.xpath("(//*[@id='fieldName'])[5]")); - // Commons.dropdown(test,driver, By.id("zone")); + try{ Commons.dropdown(test,driver, By.id("zone")); + + }catch(Exception e) { + test.log(Status.INFO, e); + } Commons.dropdown(test,driver, By.id("holidayZone")); test.log(Status.INFO, "Click on Holidayzon"); diff --git a/admintest/src/main/java/io/mosip/testrig/adminui/testcase/MachineTest.java b/admintest/src/main/java/io/mosip/testrig/adminui/testcase/MachineTest.java index 40f85ad3..0e94cae5 100644 --- a/admintest/src/main/java/io/mosip/testrig/adminui/testcase/MachineTest.java +++ b/admintest/src/main/java/io/mosip/testrig/adminui/testcase/MachineTest.java @@ -52,7 +52,11 @@ public void machineCRUD() throws Exception { Commons.enter(test,driver,By.id("publicKey"),publicKey); Commons.enter(test,driver,By.id("signPublicKey"),signPublicKey); - //Commons.dropdown(test,driver,By.id("zone")); + try{ Commons.dropdown(test,driver, By.id("zone")); + + }catch(Exception e) { + test.log(Status.INFO, e); + } Commons.dropdown(test,driver,By.id("regCenterId"));