This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import io.nickbaynham.automation.selfhealing.BrowserNotAvailableException; | |
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException; | |
import org.testng.annotations.Test; | |
import selfHealingExamples.workflows.RegistrationDiscoveryWorkflow; | |
import selfHealingExamples.workflows.RegistrationWorkflow; | |
import static org.testng.AssertJUnit.assertTrue; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.workflows; | |
import framework.pageObjects.RegistrationFormAutoDiscovery; | |
import io.nickbaynham.automation.selfhealing.BrowserNotAvailableException; | |
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException; | |
import org.openqa.selenium.WebDriver; | |
public class RegistrationDiscoveryWorkflow { | |
private WebDriver driver; | |
public RegistrationDiscoveryWorkflow(WebDriver driver) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import framework.pageObjects.RegistrationFormAutoDiscovery; | |
import io.nickbaynham.automation.selfhealing.BrowserNotAvailableException; | |
import io.nickbaynham.automation.selfhealing.Tag; | |
import io.nickbaynham.automation.selfhealing.controllers.DocumentController; | |
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package framework.pageObjects; | |
import io.nickbaynham.automation.selfhealing.BrowserNotAvailableException; | |
import io.nickbaynham.automation.selfhealing.Tag; | |
import io.nickbaynham.automation.selfhealing.WebAction; | |
import io.nickbaynham.automation.selfhealing.WebQuery; | |
import io.nickbaynham.automation.selfhealing.controllers.DocumentController; | |
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException; | |
import io.nickbaynham.automation.selfhealing.controllers.WebController; | |
import org.openqa.selenium.By; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import io.nickbaynham.automation.selfhealing.Tag; | |
import io.nickbaynham.automation.selfhealing.controllers.DocumentController; | |
import io.nickbaynham.automation.selfhealing.controllers.ElementNotFoundException; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import org.jsoup.Jsoup; | |
import org.jsoup.nodes.Document; | |
import org.testng.annotations.Test; | |
import static org.testng.AssertJUnit.assertEquals; | |
public class RegistrationJSOUP extends BaseTest { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; | |
import static org.testng.AssertJUnit.assertEquals; | |
public class RegistrationGetHTML extends BaseTest { | |
@Test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import framework.pageObjects.RegistrationForm; | |
import org.testng.annotations.Test; | |
import selfHealingExamples.workflows.RegistrationWorkflow; | |
import static org.testng.AssertJUnit.assertEquals; | |
import static org.testng.AssertJUnit.assertTrue; | |
public class RegistrationWorkflowTest extends BaseTest { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.workflows; | |
import framework.pageObjects.RegistrationForm; | |
import org.openqa.selenium.WebDriver; | |
public class RegistrationWorkflow { | |
private WebDriver driver; | |
public RegistrationWorkflow(WebDriver driver) { | |
this.driver = driver; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selfHealingExamples.tests.registration; | |
import framework.pageObjects.RegistrationForm; | |
import org.openqa.selenium.By; | |
import org.testng.annotations.Test; | |
import static org.testng.AssertJUnit.assertEquals; | |
public class RegistrationPageObjects extends BaseTest { |
NewerOlder