You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
www.xyz.com/au/mypage.html
Basically the content of the page is same and also the environment is same but url paths are different.I am using serenity with cucumber.
I ran the test suite on 1 page and it is woriking fine. Now, how to run the same test suite one after another on urls 1, 2, and 3.
In test ng or junit there is something like below. @dataProvider
public static Object[][] urlDataProvider() {
return new Object[][] {
"google.com",
"facebook.com",
/* ... */
};
} @test
@UseDataProvider("urlDataProvider")
public void multipleURLs(String url) {
driver.get(url)
}
Thanks in advance.
The text was updated successfully, but these errors were encountered:
Hi,
i have to run1 test suite on mulitple urls
Basically the content of the page is same and also the environment is same but url paths are different.I am using serenity with cucumber.
I ran the test suite on 1 page and it is woriking fine. Now, how to run the same test suite one after another on urls 1, 2, and 3.
In test ng or junit there is something like below.
@dataProvider
public static Object[][] urlDataProvider() {
return new Object[][] {
"google.com",
"facebook.com",
/* ... */
};
}
@test
@UseDataProvider("urlDataProvider")
public void multipleURLs(String url) {
driver.get(url)
}
Thanks in advance.
The text was updated successfully, but these errors were encountered: