This file contains 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
d:>java -cp ".\lib\*;.\bin\;" org.testng.TestNG testng.xml | |
[TestNG] Running: | |
D:\testng.xml | |
test2_1 | |
test2_2 | |
test2_3 | |
test3_1 | |
test3_2 | |
test3_3 |
This file contains 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
public class Google extends BasePage { | |
public class GoogleSearchForm extends Form { | |
public Button searchInGoogle = new Button(this, "Поиск в Google"); | |
public TextField searchTextbox = new TextField(this); | |
public GoogleSearchForm(BasePage page) { | |
super(page); | |
} | |
} |
This file contains 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
public class Link extends BaseElement { | |
public Link(BasePage _page, String linkText) { | |
super(_page, LocatorFactory.create( | |
LocatorStrategy.linkText, linkText)); | |
} | |
public Link(BaseElement _parentElement, String linkText) { | |
super(_parentElement, LocatorFactory.create( | |
LocatorStrategy.linkText, linkText)); |