• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Programming Languages
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
  • Automation Tools and Different Tools
    • Web Automation
      • Selenium with Java
        • Selenium Basic
        • Selenium Advance
        • Selenium Realtime
        • Framework
        • Selenium Interview
        • Selenium Videos
        • Selenium with Docker
      • Selenium with Python
      • WebdriverIO
        • Selenium Webdriver C# Tutorial
      • Cypress
      • Playwright
    • TestNG
    • Cucumber
    • Mobile Automation
      • Appium
    • API Testing
      • Postman
      • Rest Assured
      • SOAPUI
    • testRigor
    • Katalon
    • TestProject
    • Serenity BDD
    • Gradle- Build Tool
    • RPA-UiPath
    • Protractor
    • Windows Automation
  • Automation For Manual Testers
  • Services
  • Online Training
  • Contact us
  • About me
  • Follow us
    • Linkedin
    • Facebook Group
    • Facebook Page
    • Instagram

Automation

Selenium WebDriver tutorial Step by Step

You are here: Home / Home

How to Capture Tooltip in Selenium Webdriver

October 3, 2020 by Mukesh Otwani 20 Comments

This article will help you to understand How to Capture Tooltip in Selenium Webdriver and how we can verify the same in our automated test. Tooltip sometime is also known as Help text. When we use mouse hover on some element or click on some element then this tooltip comes. Here is a quick example of help text or tooltip.   Example- Example of Gmail, when we … [Read more...] about How to Capture Tooltip in Selenium Webdriver

Javascript in Selenium Webdriver and Different usage

October 2, 2020 by Mukesh Otwani 12 Comments

Implement JavaScript in Selenium To execute JavaScript in our webdriver script we do not have to write the separate code we have one predefined interface available. JavascriptExecutor is an Interface which is available in package org.openqa.selenium.JavascriptExecutor; Inside this Interface we have some predefined method called executeScript()- so whatever script you will pass as a String It will be executed by JavascriptExecutor Note- This is most common question in interview that how to type in Selenium without using sendKeys method Let us implement the same Program 1- How to type in Selenium without using sendKeys() method import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.firefox.FirefoxDriver; public class TestFirefox { public static void main(String[] args) throws InterruptedException { // Open Firefox browser FirefoxDriver driver=new FirefoxDriver(); // Maximize the window driver.manage().window().maximize(); // Open applicatiion driver.get("enter your application URL"); // This will execute JavaScript in your script ((JavascriptExecutor)driver).executeScript("document.getElementById('some id').value='mukesh'"); } } Program 2- How to click in Selenium if button or radio button is disable package seleniumday1; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.firefox.FirefoxDriver; public class TestFirefox { public static void main(String[] args) throws InterruptedException { // Open Firefox browser FirefoxDriver driver=new FirefoxDriver(); // Maximize the window driver.manage().window().maximize(); // Open applicatiion driver.get("enter your application URL"); // This will execute JavaScript in your script ((JavascriptExecutor)driver).executeScript("document.getElementById('enter your element id').click()"); } } Program 3- How to uncheck checkbox in Selenium if checkbox is disable package seleniumday1; import org.openqa.selenium.JavascriptExecutor; import org.openqa.selenium.firefox.FirefoxDriver; public class TestFirefox { public static void main(String[] args) throws InterruptedException { // Open Firefox browser FirefoxDriver driver=new FirefoxDriver(); // Maximize the window driver.manage().window().maximize(); // Open applicatiion driver.get("enter your application URL"); // This will execute JavaScript in your script ((JavascriptExecutor)driver).executeScript("document.getElementById('enter element id').checked=false"); } } Please comment below if you are facing any issue. Thanks for visiting my blog. Keep in touch. Happy Testing

Hello, Welcome to Selenium Tutorials in this post we will see how we can introduce Javascript in Selenium Webdriver and what are the usage? What is JavaScript JavaScript is one of the programming languages of the Web. All modern HTML pages are using JavaScript. For more details, you can refer Wikipedia - JavaScript   Use of Javascript in Selenium Webdriver We … [Read more...] about Javascript in Selenium Webdriver and Different usage

HOW TO BUILD RESUME TO GET MAXIMUM CALLS

June 28, 2020 by Akansha Bhagwani 10 Comments

HOW TO BUILD RESUME TO GET MAXIMUM CALLS

Your resume is the most important paper of your career, but how to mention all the details in that one particular paper to make it more attractive can be daunting for many. Whatever your concern is I am going to breakdown everything you need to know on “How to build your resume to get maximum calls” from scratch. PICK A FORMAT: Before writing anything, you need to … [Read more...] about HOW TO BUILD RESUME TO GET MAXIMUM CALLS

HOW TO IMPROVE YOUR COMMUNICATION SKILLS?

June 27, 2020 by Akansha Bhagwani Leave a Comment

how to improve your communication skills?

Communication is part of our daily lives. It is an essential skill to survive in today’s world and the top skill which the interviewers look for in candidates while hiring. You can have the perfect resume and qualifications, but if you are unable to communicate properly during your interview, you still won’t be hired. I am going to share with you " how to improve your … [Read more...] about HOW TO IMPROVE YOUR COMMUNICATION SKILLS?

HOW TO IMPROVE BODY LANGUAGE FOR GOOD IMPRESSION

June 26, 2020 by Akansha Bhagwani Leave a Comment

HOW TO IMPROVE BODY LANGUAGE FOR GOOD IMPRESSION

Body language is just about any manner, gesture, or posture that conveys meaning to the observer. Body language is especially meaningful in an interview as your interviewer will be paying as much attention to nonverbal cues as to what you have to say. You can IMPROVE BODY LANGUAGE in simple ways just by following the below points. Preparing good answers for common interview … [Read more...] about HOW TO IMPROVE BODY LANGUAGE FOR GOOD IMPRESSION

« Previous Page
Next Page »

Primary Sidebar

Free Selenium Videos

https://www.youtube.com/watch?v=w_iPCT1ETO4

Search topic

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?

Stay connected via Facebook

Stay connected via Facebook

Archives

Footer

Categories

Recent Post

  • API Testing Using Postman And RestAssured
  • Disable Personalise Your Web Experience Microsoft Edge Prompt In Selenium
  • How To Fix Error: No tests found In Playwright
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Best and easy way to Group test cases in selenium

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?