1. Basic Login-Logout Test:
a) Successfully Login to N11.com and Logout
b) Unsuccessful Login attempt and logging of error message in loginerror.txt
2. Search keyword test:
a) Search a keyword at n11.com searchbox and return the search results in Browser
b) Search a keyword at n11.com searchbox that cannot find any results and display in Browser
c) Log results to results.txt file ( should be the search term)
3. Parameterize test data:
Read key values from a config file config.txt:
Username: xxxxx
Password: xxxxx
SearchTerm: xxxx
Notes:
– Test files must include Test asserts (Assert.xxx).
– Test Code should be written with Selenium Webdriver Framework for .NET Core with C#.
– All tests must run both in Firefox and Chrome browsers.