[go: up one dir, main page]

0% found this document useful (0 votes)
4 views15 pages

Rahul Shinde 221080906 ST6

The document outlines a web testing assignment using Selenium IDE, detailing the steps to install the tool, create a project, record test cases, insert assertions, and execute tests. It emphasizes the ease of use for beginners in automating web tests without coding and highlights the importance of correct locators and synchronization in testing. The assignment successfully demonstrated recording web actions, validating elements, and analyzing test results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views15 pages

Rahul Shinde 221080906 ST6

The document outlines a web testing assignment using Selenium IDE, detailing the steps to install the tool, create a project, record test cases, insert assertions, and execute tests. It emphasizes the ease of use for beginners in automating web tests without coding and highlights the importance of correct locators and synchronization in testing. The assignment successfully demonstrated recording web actions, validating elements, and analyzing test results.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Experiment:6

Web Testing Documentation using Selenium IDE

Developer: Rahul Baliram Shinde


Reg Id: 221080906
Batch: D
1. OBJECTIVE

The objective of this assignment is to perform basic web application testing using Selenium
IDE by recording actions, inserting assertions, running the tests, and analyzing the results.

2. Tools Used

• Selenium IDE (Chrome Extension)


• Browser: Google Chrome
• Test Application: (Your Base URL — Example: your target website)

3. IMPLEMENTATION

Step 1: Install Selenium IDE


Confirmed the Selenium IDE icon appears in the browser toolbar.
Step 2: Create a New Project
Opened Selenium IDE.

Created a new project named: WebTest_Project_Rahul.


Entered the Base URL of the target website.

Step 3: Record Test Case


Clicked Start Recording.
Performed the following actions on the web page:
• Opened the homepage.
• Navigated through different links like Career, Contact Us.
• Filled out form fields: First Name, Last Name, Email, Mobile Number, etc.
• Clicked Submit Button.
Stopped the recording after completing all actions.

Step 4: Insert Assertion


• Added an assert command manually.
• Purpose: To check if a specific button or text (example: "Career", "Contact Us", or
Submit button) is available on the page.
Step 5: Execute the Test
• Clicked the Run current test button.
• Observed the test steps executing one after another.
• Verified whether all actions were successfully performed.

Step 6: Play Back the Test


1. Click on the Play button to run the recorded test.
2. Selenium IDE will execute all the recorded actions automatically.
3. If the test passes, you’ll see a green checkmark; if it fails, you’ll get an error message.
Step 7: Edit the Test (Optional)
● You can edit recorded steps by clicking on any step and modifying the command,
target, or value.
● Add new test steps manually, such as:
○ assert: Verify that an element is present.
○ verifyText: Check if a text appears on the page.
○ waitForElement: Wait for an element before proceeding.
assert: Verify that an element is present.
Step 8: Export Test Cases (Optional)
● Selenium IDE allows exporting test cases in different programming languages like Java,
Python, or C#.
● Click on Export and choose the preferred format.
● This helps if you want to integrate the test into a Selenium WebDriver framework.
Step 9: Run Multiple Test Cases
1. Add multiple test cases to create a test suite.
2. Click Run All Tests to execute the entire suite.
3. Monitor the results to see if all test cases pass.
Step 10: Analyze Test Results
CONCLUSION

Selenium IDE is a beginner-friendly tool for automating web tests without writing any code.
In this assignment:
• We successfully recorded web actions.
• Inserted assertions to validate the presence of elements.
• Corrected errors by debugging the steps.
• Ran the tests and verified results.
Thus, the assignment helped in understanding the basic web automation process and the
importance of using correct locators and synchronization (waits) in testing.

You might also like