0% found this document useful (0 votes)
3 views2 pages

Selenium Assgnment

Uploaded by

Aditi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Selenium Assgnment

Uploaded by

Aditi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

SELENIUM ASSIGNMENT

DevOps Instructor-led Training


Contact us:
TOACCELERATEYOURCAREERGROWTH

For questions and more details:


+91 98712 72900
https://www.thecloudtrain.com

[email protected]
+91 98712 72900

Exercise 1: Headless Test

Complete below tasks as part of this exercise:


1. Write Selenium code to perform a headless test on DockerHub Website
2. Using the driver.get print the title of this website home page.

Note: Use document to re-use and update the headless code


accordingly or find the code on github: Cloudtrain Selenium
GitHub Repo (headlessDemo.java)

Exercise 2: Test Title of page using


Selenium

Complete below tasks as part of this exercise:


1. Write Selenium code to perform retrieve the title of home page
of https://www.ibm.com/in-en
2. Test using Selenium code that the title of the home page is "IBM - India |
IBM"

Note: Use document to re-use and update the code accordingly or


find the code on github: Cloudtrain Selenium GitHub
Repo (testing.java)
Exercise 3: Case Study

Complete below tasks as part of this exercise:


1. Open the IBM website, by visiting https://www.ibm.com
2. Enter "Devops" term and click search
3. On the search page, check for "DevOps – IBM Developer – IBM Developer"
items in the list. If it exists, click on it
4. On the course page, verify if in the page "DevOps – IBM Developer – IBM
Developer" is present as the header
5. In that last search result page we will check if the Item Title matches to
our Desired Event Title or not, if matches display one message and display
the Upcoming events for that item.

Note: Use document to re-use and update the code accordingly or


find the code on github: Cloudtrain Selenium GitHub
Repo (App.java)

You might also like