Please find the Task 1 description below:
When performing a task, you must use the capabilities of Selenium WebDriver, a unit test framework (for example JUnit) and the Page Object concept.
Open https://pastebin.com/ or a similar service in any browser. Create 'New Paste' with the following attributes:
-
Code: "Hello from WebDriver"
-
Paste Expiration: "10 Minutes"
-
Paste Name / Title: "helloweb"
Please find the Task 2 description below:
When performing a task, you must use the capabilities of Selenium WebDriver, a unit test framework (for example JUnit) and the Page Object concept.
- Open https://pastebin.com/ or a similar service in any browser.
- Create 'New Paste' with the following attributes:
- Code:
git config --global user.name "New Sheriff in Town" git reset $(git commit-tree HEAD^{tree} -m "Legacy code") git push origin master --force
- Syntax Highlighting: "Bash"
- Paste Expiration: "10 Minutes"
- Paste Name / Title: "how to gain dominance among developers"
- Code:
- Save 'paste' and check the following:
- Browser page title matches 'Paste Name / Title'
- Syntax is suspended for bash
- Check that the code matches the one from paragraph 2.
Please find the Task 3 description below:
When performing a task, you must use the capabilities of Selenium WebDriver, a unit test framework (for example JUnit) and the Page Object concept.
- Open https://cloud.google.com/.
- Click on the icon at the top of the portal page and enter "Google Cloud Platform Pricing Calculator" into the search field.
- Perform the search.
- Click "Google Cloud Platform Pricing Calculator" in the search results and go to the calculator page.
- Click COMPUTE ENGINE at the top of the page.
- Fill out the form with the following data:
- Number of instances: 4
- What are these instances for?: leave blank
- Operating System / Software: Free: Debian, CentOS, CoreOS, Ubuntu, or another User-Provided OS
- Provisioning model: Regular
- Machine Family: General purpose
- Series: N1
- Machine type: n1-standard-8 (vCPUs: 8, RAM: 30 GB)
- Select “Add GPUs“
- GPU type: NVIDIA Tesla V100
- Number of GPUs: 1
- Local SSD: 2x375 Gb
- Datacenter location: Frankfurt (europe-west3)
- Committed usage: 1 Year Other options leave in the default state.
- Click 'Add to Estimate'.
- Check the price is calculated in the right section of the calculator. There is a line “Total Estimated Cost: USD ${amount} per 1 month”
- Click "Share" to see Total estimated cost
- Click "Open estimate summary" to see Cost Estimate Summary, will be opened in separate tab browser.
- Verify that the 'Cost Estimate Summary' matches with filled values in Step 6.
- Dropdown "Datacenter location" was renamed as "Region"
- If GPU type chosen as "NVIDIA Tesla V100" there is no option "Frankfurt (europe-west3)" in Region dropdown (in task was replaced for "Netherlands (europe-west4)")
Use your completed Task 3 from the WebDriver module as a precondition for the current task, in which you need to develop a framework based on it, which will include the following features:
- A WebDriver manager for managing browser connectors
- Page Object/Page Factory for page abstractions
- Models for business objects of the required elements
- Property files with test data for at least two different environments
- XML suites for smoke tests and other tests
- If the test fails, a screenshot with the date and time is taken.