Code for selenium

Installing Selenium from scratch involves setting up the Java environment, installing the Eclipse IDE, and finally configuring the Selenium libraries. As of 2026, Selenium 4 is the industry standard. Below is the step-by-step guide to get you up and running. Phase 1: Install Java (JDK) Selenium is a Java-based library, so you must have the Java Development Kit (JDK) installed. Download: Go to the Oracle JDK Downloads or Adoptium (OpenJDK). Download the latest LTS version (e.g., JDK 21 or 25). Install: Run the installer and follow the prompts. Set Environment Variables (Windows): Search for "Edit the system environment variables" in your Start menu. Click Environment Variables. Under System Variables, click New and add JAVA_HOME with the path to your JDK folder (e.g., C:\Program Files\Java\jdk-21). Find the Path variable, click Edit, and add %JAVA_HOME%\bin. Verify: Open Command Prompt and type java -version. You should see the version details. Phase 2: Install Eclipse IDE Dow...

Join link


Scenario ID Test Case ID Pre-requisites Test Data Test Case Description Test Steps Expected Value (EV) Actual Value (AV) Results (P/F) Remarks

TS01 TC01 Application is working <br> URL is working https://demo.guru99.com/test/newtours/ <br><br> Username: Siva <br> Password: Siva123 To verify whether login functionality is working fine or not 1. Open the Chrome browser <br> 2. Enter the URL <br> 3. Enter valid username <br> 4. Enter valid password <br> 5. Click on submit button Application logs in user to Home page   
         
TS01 TC02 Application is working <br> URL is working https://demo.guru99.com/test/newtours/ <br><br> Username: Siva <br> Password: Siva@123 To verify whether user is not logged in when invalid username and password is entered 1. Open the Chrome browser <br> 2. Enter the URL <br> 3. Enter valid username <br> 4. Enter valid password <br> 5. Click on submit button Application should not log in user   



-

Comments

Popular posts from this blog

ES practical syit sem 4

TYBSc IT Semester 6 Information Security Practicals

Master Linux Practical for B.Sc. IT Semester 5: Download pdf and the Comprehensive Guide

Java programming practical

Introduction to computer system

Advanced Web Designing (AWD) Practical Guide for B.Sc. IT 5th Semester

CGA practical