QA Engineer - Assignment
QA Engineer - Assignment
You have two full days to write the UI automation scripts (creating a framework would
be a plus) to automate on web view. We need to evaluate how you solve the problem
and manage the scripts in object-oriented manner.
Problem Statement:
Choose one website from the available options for you to investigate and write the
automated scripts (or a UI automation framework). As the initial target, the following
test scenarios are expected to be automated:
1. Perform login and logout flow on the application. The scripts should be flexible
enough so that it can accept input parameter (credential info) from a file (XML,
CSV, or config file)
2. Search Tshirts in Men’s Fashion category, and then verify the search result page.
• For Amazon.com: Select Departments section > Click Men’s Fashion > Select
Clothing > Click Shirts in left-hand section.
• For Aliexpress.com: Select Category burger menu > Select Men’s Fashion >
Shirts.
• For ebay.com: Click Shop by Category section > Click Fashion > Men > Click
Men’s Shirts
3. Select second available product and add to cart with quantity as 2.
4. Search for “women’s sneakers” from search bar and select 1st available product
which is not a promoted product and add to cart. Verify the cart count
notification.
5. Open the shopping cart and reduce the quantity of the shirts to 1.
6. Proceed to checkout.
1. Use data drive/parameterise to search multiple different products via search bar.
2. Setup to run these cases in parallel.
3. Setup to execute on any browser passed via config.
• Please select available options of the test environment you want to automate:
https://www.amazon.com, https://www.aliexpress.com, or
https://www.ebay.com
• Use following credential for the website:
Username : xxx
Password : xxx
<Or ask the candidates to create their own fake account on one of those
websites>
• You can use any free and open source test tools with any programming language
(preferably C# or Java). Please note that our evaluation will depend on the level
of craft you bring while writing the test automation. Show us your skills!
• Use Selenium/Appium with Nunit/TestNG/Junit.
• Test need to be written in a modular and re-usable manner.
Deliverables:
• Create a folder and put your assignments files/folders into it and include a brief
documentation (ReadMe file) covering work done including:
- Structure of tests in the solution
- Any assumptions made
- Format of input files etc expected by the tests
- How-to-run steps in detail
• You can email the zipped folder directly or upload it on Google Drive or any other
file sharing driver and then share the link. Don’t forget to set the sharing
permissions as Public.