def test_changePassword(self): myProfilePage = MyProfilePageSS(self.driver, self.wait) changePassPage = myProfilePage.clickChangePsswordLink() confirmPage = changePassPage.fillForm(self.superuser_password, "%s1" %self.superuser_password) profilePage = confirmPage.clickContinueButton() changePassPage = profilePage.clickChangePasswordButton() confirmPage = changePassPage.fillForm("%s1" %self.superuser_password, self.superuser_password) self.assertEquals(confirmPage.getConfirmationMessage(), "Your password was successfully changed","Password not changed!")