Playback starts YouTube’s embedded player (privacy-enhanced mode).
FindElement using Locators in Selenium 4, click and sendKeys - Selenium Tutorials
ChannelAutomation ZoneDescription from the creator
This video will teach you how to identify properties or attributes of elements in a webpage, save them and perform click action on buttons and links and entering text in textbox using the below locators:
By.id("value"); By.name("value"); By.className("value"); By.className("value"); By.linkText("value"); By.partialLinkText("value") By.tagName("value");
Intro : (0:00)
Inspecting WebElements : (1:33)
Locating By ID : (3:16)
Entering Text in a text box : (6:00)
Locating By Name : (8:06)
Locating By ClassName : (11:06)
Locating By LinkName and PartialLinkName : (14:04)
Locating By TagName : (17:46)
HTML Basic : (18:28)
Playlist : youtube.com/playlist?list=PLcxbJOVMGpYD_e0cVjS1…
OrangeHRM : opensource-demo.orangehrmlive.com/
HTML Tags : w3schools.com/TAGS/default.ASP
Follow Us on Facebook : facebook.com/theautomationzone
Code :
System.setProperty("webdriver.chrome.driver", "C:\\selenium\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("opensource-demo.orangehrmlive.com/");
driver.findElement(By.id("txtUsername")).sendKeys("Admin");
driver.findElement(By.name("txtPassword")).sendKeys("admin123");
driver.findElement(By.className("button")).click();
driver.navigate().back();
driver.findElement(By.partialLinkText("Forgot your password?")).click();
driver.navigate().back();
driver.findElement(By.partialLinkText("password")).click();
By.id("value"); By.name("value"); By.className("value"); By.className("value"); By.linkText("value"); By.partialLinkText("value") By.tagName("value");
Intro : (0:00)
Inspecting WebElements : (1:33)
Locating By ID : (3:16)
Entering Text in a text box : (6:00)
Locating By Name : (8:06)
Locating By ClassName : (11:06)
Locating By LinkName and PartialLinkName : (14:04)
Locating By TagName : (17:46)
HTML Basic : (18:28)
Playlist : youtube.com/playlist?list=PLcxbJOVMGpYD_e0cVjS1…
OrangeHRM : opensource-demo.orangehrmlive.com/
HTML Tags : w3schools.com/TAGS/default.ASP
Follow Us on Facebook : facebook.com/theautomationzone
Code :
System.setProperty("webdriver.chrome.driver", "C:\\selenium\\chromedriver.exe");
WebDriver driver = new ChromeDriver();
driver.get("opensource-demo.orangehrmlive.com/");
driver.findElement(By.id("txtUsername")).sendKeys("Admin");
driver.findElement(By.name("txtPassword")).sendKeys("admin123");
driver.findElement(By.className("button")).click();
driver.navigate().back();
driver.findElement(By.partialLinkText("Forgot your password?")).click();
driver.navigate().back();
driver.findElement(By.partialLinkText("password")).click();
About this tutorial
Automation Zone published this 24:10 video tutorial on July 15, 2020. It has been watched 1,529 times on YouTube.
- Channel
- Automation Zone
- Category
- Education
- Duration
- 24:10
- Published
- July 15, 2020
- Views
- 1,529
- Likes
- 45
Tags
Share
This tutorial in other languages
- FRFindElement utilisant localisateurs en Sélénium 4, cliquez et sendkeys - Sélénium Tutoriels
- ESFindElement utilizando localizadores de selenio 4, haga clic y Sendkeys - Selenio tutoriales
- PTFindElement usando localizadores em selênio 4, clique e sendkeys - Selênio Tutoriais
- ITFindElement utilizzando Locator di selenio 4, fare clic e sendkeys - selenio Tutorial
- DEFindElement mit Locators in Selenium 4, klicken und Tastaturbefehle - Selen Tutorials
- NLFindElement gebruik Locators in Selenium 4, klik en SendKeys - Selenium Tutorials
- RUFindElement использование Локаторов в Селене 4, нажмите и SendKeys - Selenium Учебников
- PLFindElement używać wskaźników w selen 4 kliknij i SendKeys - selen Poradniki
- JAセレン4でロケータ、クリックしてのSendKeysを使用してFindElement - セレンチュートリアル
- ARFindElement استخدام معينات المواقع في السيلينيوم 4، انقر فوق وsendKeys - السيلينيوم دروس
- HIFindElement सेलेनियम 4 में लोकेटर का उपयोग कर, क्लिक करें और SendKeys - सेलेनियम ट्यूटोरियल
- IDFindElement menggunakan Locators di Selenium 4, klik dan Sendkeys - Selenium Tutorial