Search in sources :

Example 1 with Attributes

use of com.epam.reportportal.annotations.attribute.Attributes in project SeleniumFramework by AutoInfra.

the class SearchTest method searchInDuckDuckGo.

@Attributes
@SneakyThrows
@JiraIssue(IssueID = "AUTOINFRA-4")
// @Test(description = "DuckDuckSearch")
@Parameters({ "keywordToSearch" })
public void searchInDuckDuckGo(String keywordfromTestNG) {
    SearchPage SP = new SearchPage(driver);
    SP.goTo();
    SP.doSearch(keywordfromTestNG);
    SP.goToVideos();
    int size = SP.printResult();
    Assert.assertTrue(size > 100);
}
Also used : SearchPage(com.duckduckgo.pages.SearchPage) JiraIssue(utilities.customAnnotations.Jira.JiraIssue) Parameters(org.testng.annotations.Parameters) Attributes(com.epam.reportportal.annotations.attribute.Attributes) SneakyThrows(lombok.SneakyThrows)

Aggregations

SearchPage (com.duckduckgo.pages.SearchPage)1 Attributes (com.epam.reportportal.annotations.attribute.Attributes)1 SneakyThrows (lombok.SneakyThrows)1 Parameters (org.testng.annotations.Parameters)1 JiraIssue (utilities.customAnnotations.Jira.JiraIssue)1