diff --git a/uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/ShareMyData.java b/uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/ShareMyData.java index 36c3bd6f..99589140 100644 --- a/uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/ShareMyData.java +++ b/uitest-resident/src/main/java/io/mosip/testrig/residentui/testcase/ShareMyData.java @@ -15,7 +15,7 @@ public void shareMyData() throws Exception { Commons.clickWebelement( driver, By.id("uinservices/sharewithpartner")); - Commons.clickWebelement( driver, By.id("name")); + Commons.clickWebelement( driver, By.id("fullName")); Commons.clickWebelement( driver, By.id("dateOfBirth")); Commons.clickWebelement( driver, By.id("UIN")); Commons.dropdown( driver, By.id("partnerDetails")); @@ -27,13 +27,13 @@ public void shareMyData() throws Exception { Commons.clickWebelement( driver, By.id("dismissBtn")); Commons.clickWebelement( driver, By.id("uinservices/sharewithpartner")); - Commons.clickWebelement( driver, By.id("name")); + Commons.clickWebelement( driver, By.id("fullName")); Commons.clickWebelement( driver, By.id("dateOfBirth")); Commons.clickWebelement( driver, By.id("UIN")); Commons.clickWebelement( driver, By.id("shareBtn")); Commons.clickWebelement( driver, By.id("dismissBtn")); - // without partner name + // without partner fullName Commons.enter( driver, By.id("sharingReasonPlaceholder"), data); Commons.clickWebelement( driver, By.id("shareBtn")); Commons.clickWebelement( driver, By.id("dismissBtn")); @@ -58,7 +58,7 @@ public void shareMyData() throws Exception { Commons.clickWebelement( driver, By.id("dismissBtn")); Commons.clickWebelement( driver, By.id("uinservices/sharewithpartner")); - Commons.clickWebelement( driver, By.id("name")); + Commons.clickWebelement( driver, By.id("fullName")); Commons.clickWebelement( driver, By.id("dateOfBirth")); Commons.clickWebelement( driver, By.id("UIN")); Commons.clickWebelement( driver, By.id("perpetualVID"));