Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scenario Outline: Search
- Given I Navigate to webpage with <date>
- Examples:
- | Variant | Date |
- | Web1 | |
- | Web2 | |
- | Web3 | |
- | Web4 | |
- | Web5 | |
- [Binding]
- public class Search
- {
- [Given(@"I Navigate to WebPage with (.*)")]
- public void GivenINavigateToWebpageWith(int date)
- {
- DateTime localDate = DateTime.Now;
- String[] formats = { "yyyyMMdd" };
- String[] cultureNames = { "en-US" };
- DateTime date = new DateTime();
- CurrentBrowserNavigation("https://webpage.com/foo/bar/blah/blah/en-us/?startdate=" + date + "&anotherThing=1");
- }
Add Comment
Please, Sign In to add comment