0% found this document useful (0 votes)
36 views3 pages

CAP771Assignment 2

Uploaded by

manish737347
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)
36 views3 pages

CAP771Assignment 2

Uploaded by

manish737347
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

1. **Write a Selenium IDE script to navigate to "https://omayo.blogspot.

com", click on the "Selenium


Tutorial" link, and verify that the resulting page's title contains "Selenium". Document the steps and the
Selenium IDE script.**

2. **Develop a Selenium IDE test case that opens "https://omayo.blogspot.com", stores the page URL in
a variable, and then types that URL into a URL input field on another page (e.g.,
"https://www.example.com"). Provide the script and an explanation of how variables are stored and
accessed.**

3. **Create a Selenium IDE script that demonstrates the use of the pause, refresh, storeElementText,
and storeValue commands. The script should pause for 5 seconds, refresh the page, store the text of a
specific element and the value of an input field, and log them to the console. Provide the script and
output screenshots.**

4. **Write a Selenium IDE test case that verifies the presence of a specific image on
"https://omayo.blogspot.com" using the verifyElementPresent command. Save this test case in a test
suite and document the steps. Compare the verifyElementPresent command with the
assertElementPresent command, explaining the differences with examples.**

5. **Set up Selenium WebDriver in your local environment. Write a script in a programming language of
your choice (e.g., Python, Java) that opens "https://omayo.blogspot.com", sets the browser dimensions
to 1280x720, and prints the current browser dimensions. Include the complete code and setup
instructions.**

6. **Describe the process of including Selenium JAR files in an IntelliJ IDEA project. Provide a step-by-
step guide with screenshots. Explain why these JAR files are necessary for Selenium WebDriver
scripts.**

7. **Create a Selenium IDE script that opens "https://omayo.blogspot.com", stores the value of an input
field using the storeValue command, and then logs that value to the console. Document the steps and
script.**
8. **Write a Selenium IDE script to navigate to "https://omayo.blogspot.com", click on the "Subscribe"
button, and verify that a specific alert message is displayed. Document the steps and the Selenium IDE
script.**

9. **Develop a Selenium IDE test case that opens "https://omayo.blogspot.com", stores the text of a
heading in a variable, and then types that text into a form input field on the same page. Provide the
script and an explanation of how variables are stored and accessed.**

10. **Create a Selenium IDE script that demonstrates the use of the pause, refresh, storeTitle, and
storeAttribute commands. The script should pause for 4 seconds, refresh the page, store the page title
and an attribute value of a specific element, and log them to the console. Provide the script and output
screenshots.**

11. **Write a Selenium IDE test case that verifies the presence of a specific button on
"https://omayo.blogspot.com" using the verifyElementVisible command. Save this test case in a test
suite and document the steps. Compare the verifyElementVisible command with the
assertElementVisible command, explaining the differences with examples.**

12. **Set up Selenium WebDriver in your local environment. Write a script in a programming language
of your choice (e.g., Python, Java) that opens "https://omayo.blogspot.com", sets the browser
dimensions to 800x600, and prints the current browser dimensions. Include the complete code and
setup instructions.**

13. **Describe the process of including Selenium JAR files in a NetBeans project. Provide a step-by-step
guide with screenshots. Explain why these JAR files are necessary for Selenium WebDriver scripts.**

14. **Create a Selenium IDE script that opens "https://omayo.blogspot.com", stores the text content of
a paragraph element using the storeText command, and then logs that text to the console. Document
the steps and script.**

15. **Write a Selenium IDE script to navigate to "https://omayo.blogspot.com", click on the "Blogger"
link, and verify that the resulting page's title is "Blogger". Document the steps and the Selenium IDE
script.**
16. **Develop a Selenium IDE test case that opens "https://omayo.blogspot.com", stores the inner
HTML of a div element in a variable, and then types that HTML into an editor input field on another page
(e.g., "https://www.tinymce.com"). Provide the script and an explanation of how variables are stored
and accessed.**

17. **Create a Selenium IDE script that demonstrates the use of the pause, refresh,
storeWindowHandle, and storeAlert commands. The script should pause for 2 seconds, refresh the page,
store the window handle and an alert message, and log them to the console. Provide the script and
output screenshots.**

18. **Write a Selenium IDE test case that verifies the presence of specific text within a table on
"https://omayo.blogspot.com" using the verifyText command. Save this test case in a test suite and
document the steps. Compare the verifyText command with the assertText command, explaining the
differences with examples.**

19. **Set up Selenium WebDriver in your local environment. Write a script in a programming language
of your choice (e.g., Python, Java) that opens "https://omayo.blogspot.com", sets the browser
dimensions to 1366x768, and prints the current browser dimensions. Include the complete code and
setup instructions.**

20. **Describe the process of including Selenium JAR files in a Visual Studio Code project. Provide a
step-by-step guide with screenshots. Explain why these JAR files are necessary for Selenium WebDriver
scripts.**

You might also like