1. validation of the profile page. registerPatient(); public boolean validatePRofile(hashMap) { boolean result; String expected = hMap.get("SSN"); String actual = driver.findElement(By.id("")).getText; if(acutal.equals(expected)) { result = true; } return result; } 2. Edit and validate the data is displayed in the profile page. HashMap hMap = registerPatient(); String height= 728; String weight=728; hMap.put("weight",weight); hMap.put("height",height); public boolean editProfilePage(height,weight,hMap) { boolean result; navigatetoProfilePage(); String expected = hMap.get("weight"); driver.findElement(By.id("")).clear(); driver.findElement(By.id("")).sendKeys(""); String actual = driver.findElement(By.id("")).getText; if(acutal.equals(expected)) { result = true; } return result; } public boolean validatePRofile(hashMap) { boolean result; navigatetoProfilePage(); String expected = hMap.get("SSN"); String actual = driver.findElement(By.id("")).getText; if(acutal.equals(expected)) { result = true; } return result; }