public NewResponsePage(Config testConfig) { this.testConfig = testConfig; PageFactory.initElements(this.testConfig.driver, this); Browser.wait(this.testConfig, 5); }
/** * Verifies Notification text displayed on the top of page * * @param NotificationText */ public void verifyNotificationText(String NotificationText) { Browser.waitForPageLoad(testConfig, AlertNotification); Helper.compareEquals( testConfig, "Alert Notification", NotificationText, AlertNotification.getText()); Browser.wait(testConfig, 10); }