When we want to interact with any web page, we use locators to identify the web elements and interact with them using locators. We use HTML elements on the web page while automating any web based application using Selenium WebDriver.
These are training slides created by me to conduct training and knowledge sharing sessions for beginners in Cognizant Technology Solutions for Selenium Automation.
Automation testing can be performed using Selenium WebDriver which provides advantages like frequent regression testing, rapid feedback to developers, and finding defects missed by manual testing. Selenium has evolved over time, initially starting as a project called WebDriver at Google to solve Selenium's pain points. It now supports various browsers and locators can be used to identify elements on the page for automation.
The document discusses the benefits of test automation using Selenium. It provides an overview of Selenium's history and development. Key advantages of test automation include enabling frequent regression testing, rapid feedback to developers, and finding defects that manual testing may miss. The document also covers Selenium commands, locating elements, script syntax, and different Selenium tools like IDE, WebDriver, and RC.
Test automation with Selenium WebDriver can improve testing efficiency by enabling frequent regression testing, rapid feedback to developers, unlimited test case execution iterations, and defect detection missed by manual testing. Selenium originated in 2004 and has merged with the WebDriver project to provide a common set of features. WebDriver supports locating elements using ID, name, XPath, CSS, link text, and other attributes. It allows retrieving values from elements and interacting with pages, frames, alerts and windows.
jQuery is a popular JavaScript library that simplifies HTML document manipulation and event handling. It allows developers to select elements, handle events, perform animations and AJAX calls. jQuery uses CSS selectors to select elements and includes methods for DOM traversal, manipulation, events and effects. It works across browsers and supports plugins for additional functionality.
DevLabs Alliance Top 50 Selenium Interview Questions for SDETDevLabs Alliance
DevLabs Alliance Selenium Interview Questions for SDET will help SDETs to prepare for their interviews. Learn top 50 questions with their answers for Selenium which are majorly asked in interview for SDET role.
DevLabs Alliance Top 50 Selenium Interview Questions for SDETDevLabs Alliance
This document contains 50 Selenium interview questions and their answers related to topics like what Selenium is, its advantages and limitations, Selenium locators, XPath, implicit and explicit waits, exceptions in Selenium, navigation commands, selecting dropdown values, differences between driver commands, frames, actions class, screenshots, object repository and Selenium frameworks. It aims to help prepare for Selenium interviews by providing concise explanations to commonly asked questions.
Dev labs alliance top 50 selenium interview questions for SDETdevlabsalliance
This document contains 50 Selenium interview questions and their answers related to topics like what Selenium is, its advantages and limitations, Selenium locators, XPath, implicit and explicit waits, exceptions in Selenium, navigation commands, handling dropdowns, frames, alerts and more. It aims to help prepare for Selenium interviews by providing concise yet comprehensive explanations of commonly asked concepts and techniques in Selenium testing.
Object Identification and its management is heart of any test automation. this document explains different ways for object identification in selenium, and also importance of its maintenance.
Selenide Alternative in Practice - Implementation & Lessons learned [Selenium...Iakiv Kramarenko
This document describes an alternative to the Selenide web test automation tool called Selenide Alternative. It discusses lessons learned from implementing the alternative tool, including using a more concise API, implicit waits, assertion waits, and handling dynamic elements. The alternative aims to improve on Selenide by using object-oriented programming, modular design, and lazy proxy elements to dynamically find and wait for elements.
Selenium Automation Testing Interview Questions And AnswersAjit Jadhav
This document contains 30 interview questions and answers related to Selenium testing. Some of the key questions covered include how to start the Selenium server from code, how to handle multiple browser windows, locate elements and verify text, connect to databases, and use Selenium Grid for parallel testing across different machines. The answers provide technical details on using Selenium commands, locators, and programming techniques.
Selenium interview questions and answerskavinilavuG
This document contains 37 questions and answers related to Selenium interview questions. Some key topics covered include commonly used annotations in TestNG, reading and writing data to Excel files using Selenium, locating elements using different locator strategies like XPath, handling alerts and popups, performing actions like drag-and-drop, uploading files, and synchronizing tests. It also discusses frameworks, prerequisites for running Selenium tests, advantages of the Selenium WebDriver, and using Selenium Grid for distributed testing.
The document provides an introduction to Selenium WebDriver. It discusses the architecture and components of Selenium 2.0, including how it differs from prior versions. The Selenium API is explained, including how to find elements, perform basic operations on elements, handle windows and frames, and implement explicit and implicit waits. Steps for creating tests using Selenium 2.0 with Java are outlined, with an example test case provided to demonstrate searching on the Rambler website and verifying the first result.
XPath is critical in Selenium testing, offering a robust method for locating elements within the web page's DOM. Understanding and utilizing XPath's capabilities can greatly improve the effectiveness and efficiency of your Selenium tests. Moreover, with platforms like HeadSpin, you can enhance your testing capabilities further, leveraging its unique features aligned with Selenium standards.
This document provides an introduction to XPath and explains how it can be used for web automation. XPath allows querying objects in the DOM to locate elements on a webpage. It describes the syntax of XPath using examples. There are two types of XPath: absolute and relative. Absolute XPath begins with a single forward slash and specifies the full path to an element. Relative XPath begins with double forward slashes and can search for an element anywhere on the page. The document also discusses XPath functions like Contains, Starts-With, and Text that can be used to locate elements when general attributes are not sufficient.
Почти каждая Test Automation команда прикладывает много усилий и времени, чтобы построить и отполировать свой Framework. Никто не нуждается в Framework в первую очередь. Вместо этого нужны быстрые, надежные и простые тесты, которые работают и обеспечивают качество для текущего процесса разработки. На это митапе @Nikita Simonovets расскажет, как можно построить хорошую автоматизацию и на какие готовые решения и подходы стоит обратить внимание.
Agenda:
• Whois Test Automation Engineer?
• What is really WebDriver?
• What is really Test Automation Framework?
• Bad examples of Test Automation Solution
• How to write more stable tests
• Stairway to heaven: Selenide vs JDI
This document provides Selenium Webdriver interview questions and answers to help readers prepare for automation testing interviews. It covers topics like the history and components of Selenium, reasons to use Selenium, different testing types in Selenium Webdriver, limitations of Selenium WebDriver, exceptions encountered, driver implementations, locators, XPath axes, and more. Advanced questions address CSS selectors, navigating pages, interacting with elements, and the Selenium WebDriver architecture.
This document provides an overview of jQuery, including:
- What jQuery is and its main features like DOM manipulation, CSS manipulation, events, effects, animations, and AJAX.
- How to include jQuery via downloading or using a CDN.
- The basic jQuery syntax of $(selector).action() to select elements and perform actions.
- Common selectors like id, class, and element selectors.
- Methods for hiding, showing, fading, sliding, adding/removing content and classes.
- How events and chaining allow combining multiple actions.
The document provides an introduction to Selenium WebDriver. It discusses the architecture and components of Selenium 1.0 and 2.0. It describes the Selenium WebDriver API for finding elements, performing actions, and handling windows/frames. It also provides an example of creating a test in Java to validate search results on the Rambler website using Selenium WebDriver.
1. Locating a WebElement using Selenium WebDriver
2. findElement and findElements Difference
3. Handling synchronization commands and non synchronization commands
4. Implicit waits
5. Explicit waits
6. Fluent waits
7. Wait - Expected conditions
8. Selenium inputs such as click, clear, sendKeys
9. Selecting of values in a dropdown
Selenide is an open source software testing tool for writing
concise, expressive and stable UI tests in Java.
Selenide resolves all the typical problems with testing of modern web applications like Ajax and timeouts in a simple and elegant way.
Selenide is extremely simple to start with: you don't need to read hundreds-pages-long tutorials.
Just open IDE and start writing. Learning curve is close to zero. With Selenide you don't waste time on googling "how to make Selenium do that" - you can concentrate on business logic.
Selenide = a better Selenium
Understanding CSS Selectors in Selenium.pdfpCloudy
Locators in Selenium are used to identify and locate web elements on a web page. They can be found by inspecting the HTML source code of the web page by using the Developer tools option provided by the browsers. There are eight different locator strategies that can be used with Selenium WebDriver.
Selenium Testing The Complete Step-by-Step Tutorial.pdfSteve Wortham
Automation testing has become a non-negotiable part of modern software delivery. If you operate in this space, you may already feel pressure to roll out products and new features faster, maintain high quality, and meet user expectations.
The SAP Testing A Comprehensive Guide.pdfSteve Wortham
SAP is a widely used enterprise software package that helps organizations manage their business operations effectively. With its comprehensive suite of modules, It provides a robust platform for managing various business functions such as finance, human resources, supply chain management.
Ad
More Related Content
Similar to findElement and findElements in Selenium_ Use Cases with Examples.pdf (20)
DevLabs Alliance Top 50 Selenium Interview Questions for SDETDevLabs Alliance
DevLabs Alliance Selenium Interview Questions for SDET will help SDETs to prepare for their interviews. Learn top 50 questions with their answers for Selenium which are majorly asked in interview for SDET role.
DevLabs Alliance Top 50 Selenium Interview Questions for SDETDevLabs Alliance
This document contains 50 Selenium interview questions and their answers related to topics like what Selenium is, its advantages and limitations, Selenium locators, XPath, implicit and explicit waits, exceptions in Selenium, navigation commands, selecting dropdown values, differences between driver commands, frames, actions class, screenshots, object repository and Selenium frameworks. It aims to help prepare for Selenium interviews by providing concise explanations to commonly asked questions.
Dev labs alliance top 50 selenium interview questions for SDETdevlabsalliance
This document contains 50 Selenium interview questions and their answers related to topics like what Selenium is, its advantages and limitations, Selenium locators, XPath, implicit and explicit waits, exceptions in Selenium, navigation commands, handling dropdowns, frames, alerts and more. It aims to help prepare for Selenium interviews by providing concise yet comprehensive explanations of commonly asked concepts and techniques in Selenium testing.
Object Identification and its management is heart of any test automation. this document explains different ways for object identification in selenium, and also importance of its maintenance.
Selenide Alternative in Practice - Implementation & Lessons learned [Selenium...Iakiv Kramarenko
This document describes an alternative to the Selenide web test automation tool called Selenide Alternative. It discusses lessons learned from implementing the alternative tool, including using a more concise API, implicit waits, assertion waits, and handling dynamic elements. The alternative aims to improve on Selenide by using object-oriented programming, modular design, and lazy proxy elements to dynamically find and wait for elements.
Selenium Automation Testing Interview Questions And AnswersAjit Jadhav
This document contains 30 interview questions and answers related to Selenium testing. Some of the key questions covered include how to start the Selenium server from code, how to handle multiple browser windows, locate elements and verify text, connect to databases, and use Selenium Grid for parallel testing across different machines. The answers provide technical details on using Selenium commands, locators, and programming techniques.
Selenium interview questions and answerskavinilavuG
This document contains 37 questions and answers related to Selenium interview questions. Some key topics covered include commonly used annotations in TestNG, reading and writing data to Excel files using Selenium, locating elements using different locator strategies like XPath, handling alerts and popups, performing actions like drag-and-drop, uploading files, and synchronizing tests. It also discusses frameworks, prerequisites for running Selenium tests, advantages of the Selenium WebDriver, and using Selenium Grid for distributed testing.
The document provides an introduction to Selenium WebDriver. It discusses the architecture and components of Selenium 2.0, including how it differs from prior versions. The Selenium API is explained, including how to find elements, perform basic operations on elements, handle windows and frames, and implement explicit and implicit waits. Steps for creating tests using Selenium 2.0 with Java are outlined, with an example test case provided to demonstrate searching on the Rambler website and verifying the first result.
XPath is critical in Selenium testing, offering a robust method for locating elements within the web page's DOM. Understanding and utilizing XPath's capabilities can greatly improve the effectiveness and efficiency of your Selenium tests. Moreover, with platforms like HeadSpin, you can enhance your testing capabilities further, leveraging its unique features aligned with Selenium standards.
This document provides an introduction to XPath and explains how it can be used for web automation. XPath allows querying objects in the DOM to locate elements on a webpage. It describes the syntax of XPath using examples. There are two types of XPath: absolute and relative. Absolute XPath begins with a single forward slash and specifies the full path to an element. Relative XPath begins with double forward slashes and can search for an element anywhere on the page. The document also discusses XPath functions like Contains, Starts-With, and Text that can be used to locate elements when general attributes are not sufficient.
Почти каждая Test Automation команда прикладывает много усилий и времени, чтобы построить и отполировать свой Framework. Никто не нуждается в Framework в первую очередь. Вместо этого нужны быстрые, надежные и простые тесты, которые работают и обеспечивают качество для текущего процесса разработки. На это митапе @Nikita Simonovets расскажет, как можно построить хорошую автоматизацию и на какие готовые решения и подходы стоит обратить внимание.
Agenda:
• Whois Test Automation Engineer?
• What is really WebDriver?
• What is really Test Automation Framework?
• Bad examples of Test Automation Solution
• How to write more stable tests
• Stairway to heaven: Selenide vs JDI
This document provides Selenium Webdriver interview questions and answers to help readers prepare for automation testing interviews. It covers topics like the history and components of Selenium, reasons to use Selenium, different testing types in Selenium Webdriver, limitations of Selenium WebDriver, exceptions encountered, driver implementations, locators, XPath axes, and more. Advanced questions address CSS selectors, navigating pages, interacting with elements, and the Selenium WebDriver architecture.
This document provides an overview of jQuery, including:
- What jQuery is and its main features like DOM manipulation, CSS manipulation, events, effects, animations, and AJAX.
- How to include jQuery via downloading or using a CDN.
- The basic jQuery syntax of $(selector).action() to select elements and perform actions.
- Common selectors like id, class, and element selectors.
- Methods for hiding, showing, fading, sliding, adding/removing content and classes.
- How events and chaining allow combining multiple actions.
The document provides an introduction to Selenium WebDriver. It discusses the architecture and components of Selenium 1.0 and 2.0. It describes the Selenium WebDriver API for finding elements, performing actions, and handling windows/frames. It also provides an example of creating a test in Java to validate search results on the Rambler website using Selenium WebDriver.
1. Locating a WebElement using Selenium WebDriver
2. findElement and findElements Difference
3. Handling synchronization commands and non synchronization commands
4. Implicit waits
5. Explicit waits
6. Fluent waits
7. Wait - Expected conditions
8. Selenium inputs such as click, clear, sendKeys
9. Selecting of values in a dropdown
Selenide is an open source software testing tool for writing
concise, expressive and stable UI tests in Java.
Selenide resolves all the typical problems with testing of modern web applications like Ajax and timeouts in a simple and elegant way.
Selenide is extremely simple to start with: you don't need to read hundreds-pages-long tutorials.
Just open IDE and start writing. Learning curve is close to zero. With Selenide you don't waste time on googling "how to make Selenium do that" - you can concentrate on business logic.
Selenide = a better Selenium
Understanding CSS Selectors in Selenium.pdfpCloudy
Locators in Selenium are used to identify and locate web elements on a web page. They can be found by inspecting the HTML source code of the web page by using the Developer tools option provided by the browsers. There are eight different locator strategies that can be used with Selenium WebDriver.
Selenium Testing The Complete Step-by-Step Tutorial.pdfSteve Wortham
Automation testing has become a non-negotiable part of modern software delivery. If you operate in this space, you may already feel pressure to roll out products and new features faster, maintain high quality, and meet user expectations.
The SAP Testing A Comprehensive Guide.pdfSteve Wortham
SAP is a widely used enterprise software package that helps organizations manage their business operations effectively. With its comprehensive suite of modules, It provides a robust platform for managing various business functions such as finance, human resources, supply chain management.
The Ultimate Guide to Salesforce Automation.pdfSteve Wortham
Sales representatives spend only about one-third of their day selling. They spend the rest of their time on non-selling activities, such as writing emails, entering data, attending internal meetings, and scheduling calls. This is a significant amount of time that could be better spent on building relationships with customers and closing deals.
Top AI Testing Tools to Streamline Your Automation Efforts.pdfSteve Wortham
With product release cycles becoming faster than ever, developers need newer and more innovative ways to test their applications for performance and reliability.
Mastering Cypress API Testing_ A Comprehensive Guide with Examples.pdfSteve Wortham
Application Programming Interface, popularly called as APIs are an important aspect of software development lifecycle not only from the dev point of view but also from the testing perspective.
Streamlining Enterprise Demands Selecting the Ideal Cloud Test Automation.pdfSteve Wortham
Every enterprise has unique requirements, Some prioritize security and want to ensure the provider has robust authentication protocols and encryption standards.
The Next Wave of Software Testing_ Trends Shaping 2025.pdfSteve Wortham
In this ever-evolving technological era, new trends in the software testing landscape keep emerging. Therefore, enterprises must do everything possible to stay ahead of these trends and gain a competitive edge.
Creating an Effective Enterprise Testing Strategy_ Best Practices and Conside...Steve Wortham
In today’s competitive landscape, enterprises are constantly striving for greater efficiency and agility. Achieving such improvements often requires modernizing applications and adopting innovative technologies.
How to Inspect Elements on Android Devices.pdfSteve Wortham
According to Statista, Android is the leading mobile operating system worldwide with a market share of 70.7 percent. Hence, it becomes very crucial that your website is tested thoroughly across multiple Android devices.
GUI Testing_ Best Practices, Tools, and Checklists You Can’t Miss.pdfSteve Wortham
As an experienced software tester, you already know this: the Graphical User Interface (GUI) is the most closely inspected part of any application. It’s where end users interact, review, and form opinions about it. It’s what they see.
From frustrating bugs that disrupt seamless functionality to exasperating freezing that abruptly halts user interactions, these issues can swiftly drive users to abandon applications indefinitely, dampening their enthusiasm.
Scriptless Test Automation_ A Complete Guide.pdfSteve Wortham
Scriptless test automation is transforming software testing. You no longer need to rely on writing complex lines of code to validate your product. In the past, test automation required writing detailed scripts, making it both time-consuming and resource-intensive.
Top iOS Testing Tools and Frameworks.pdfSteve Wortham
Automated testing has become an integral part of the iOS app development landscape. Deploying automated scripts and test cases that can be executed repeatedly allows errors to be spotted much faster and with higher accuracy rates than manual testing alone.
The Test Cases for E-commerce Website.pdfSteve Wortham
This blog provides a detailed guide to crafting test cases for online shopping websites, focusing on product listing pages, product detail pages, and various other critical functionalities.
Playwright and its Installation Guide.pdfSteve Wortham
Playwright is developed by Microsoft and it comes with High -level API for automating web browser interactions including browsers such as Firebox, Chromium and Webkit. Playwright is a powerful framework for web automation, it comes with a unified API across multiple browser engines.
A Guide to Codeless Automation on iPhone Devices.pdfSteve Wortham
It all depends on the quality and responsiveness of your website. As per Forbes, 38% of people engage with a website only if it has attractive content and layout. Hence, organizations focus a lot on continuous application performance, especially when it comes to competitive platforms such as iOS.
Understanding DevOps, its benefits, and best practices.pdfSteve Wortham
This huge demand for apps is proven by Statista, which states that the total revenue of the global app market is poised to show an annual growth rate of CAGR of 7.84%. This will lead to a projected market volume of US$781.70 billion by 2029.
Boost Your Telecom Testing Strategy_ Steps to Achieve Seamless Connectivity.pdfSteve Wortham
Therefore, it’s more vital than ever to have telecom networks that individuals and economies can count on one that ensures a positive user experience and overall service reliability. That’s exactly what telecom testing seeks to achieve.
A Complete Step-by-Step Guide to Mobile App Performance Testing.pdfSteve Wortham
In today’s typical mobile-driven world, delivering an app that performs smoothly under all conditions is critical. With users expecting fast, reliable, and intuitive experiences, even a minor lag or crash can cause unnecessary frustration and app abandonment.
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...SOFTTECHHUB
I started my online journey with several hosting services before stumbling upon Ai EngineHost. At first, the idea of paying one fee and getting lifetime access seemed too good to pass up. The platform is built on reliable US-based servers, ensuring your projects run at high speeds and remain safe. Let me take you step by step through its benefits and features as I explain why this hosting solution is a perfect fit for digital entrepreneurs.
What is Model Context Protocol(MCP) - The new technology for communication bw...Vishnu Singh Chundawat
The MCP (Model Context Protocol) is a framework designed to manage context and interaction within complex systems. This SlideShare presentation will provide a detailed overview of the MCP Model, its applications, and how it plays a crucial role in improving communication and decision-making in distributed systems. We will explore the key concepts behind the protocol, including the importance of context, data management, and how this model enhances system adaptability and responsiveness. Ideal for software developers, system architects, and IT professionals, this presentation will offer valuable insights into how the MCP Model can streamline workflows, improve efficiency, and create more intuitive systems for a wide range of use cases.
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025BookNet Canada
Book industry standards are evolving rapidly. In the first part of this session, we’ll share an overview of key developments from 2024 and the early months of 2025. Then, BookNet’s resident standards expert, Tom Richardson, and CEO, Lauren Stewart, have a forward-looking conversation about what’s next.
Link to recording, transcript, and accompanying resource: https://bnctechforum.ca/sessions/standardsgoals-for-2025-standards-certification-roundup/
Presented by BookNet Canada on May 6, 2025 with support from the Department of Canadian Heritage.
How Can I use the AI Hype in my Business Context?Daniel Lehner
𝙄𝙨 𝘼𝙄 𝙟𝙪𝙨𝙩 𝙝𝙮𝙥𝙚? 𝙊𝙧 𝙞𝙨 𝙞𝙩 𝙩𝙝𝙚 𝙜𝙖𝙢𝙚 𝙘𝙝𝙖𝙣𝙜𝙚𝙧 𝙮𝙤𝙪𝙧 𝙗𝙪𝙨𝙞𝙣𝙚𝙨𝙨 𝙣𝙚𝙚𝙙𝙨?
Everyone’s talking about AI but is anyone really using it to create real value?
Most companies want to leverage AI. Few know 𝗵𝗼𝘄.
✅ What exactly should you ask to find real AI opportunities?
✅ Which AI techniques actually fit your business?
✅ Is your data even ready for AI?
If you’re not sure, you’re not alone. This is a condensed version of the slides I presented at a Linkedin webinar for Tecnovy on 28.04.2025.
Procurement Insights Cost To Value Guide.pptxJon Hansen
Procurement Insights integrated Historic Procurement Industry Archives, serves as a powerful complement — not a competitor — to other procurement industry firms. It fills critical gaps in depth, agility, and contextual insight that most traditional analyst and association models overlook.
Learn more about this value- driven proprietary service offering here.
Designing Low-Latency Systems with Rust and ScyllaDB: An Architectural Deep DiveScyllaDB
Want to learn practical tips for designing systems that can scale efficiently without compromising speed?
Join us for a workshop where we’ll address these challenges head-on and explore how to architect low-latency systems using Rust. During this free interactive workshop oriented for developers, engineers, and architects, we’ll cover how Rust’s unique language features and the Tokio async runtime enable high-performance application development.
As you explore key principles of designing low-latency systems with Rust, you will learn how to:
- Create and compile a real-world app with Rust
- Connect the application to ScyllaDB (NoSQL data store)
- Negotiate tradeoffs related to data modeling and querying
- Manage and monitor the database for consistently low latencies
The Evolution of Meme Coins A New Era for Digital Currency ppt.pdfAbi john
Analyze the growth of meme coins from mere online jokes to potential assets in the digital economy. Explore the community, culture, and utility as they elevate themselves to a new era in cryptocurrency.
Semantic Cultivators : The Critical Future Role to Enable AIartmondano
By 2026, AI agents will consume 10x more enterprise data than humans, but with none of the contextual understanding that prevents catastrophic misinterpretations.
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPathCommunity
Join this UiPath Community Berlin meetup to explore the Orchestrator API, Swagger interface, and the Test Manager API. Learn how to leverage these tools to streamline automation, enhance testing, and integrate more efficiently with UiPath. Perfect for developers, testers, and automation enthusiasts!
📕 Agenda
Welcome & Introductions
Orchestrator API Overview
Exploring the Swagger Interface
Test Manager API Highlights
Streamlining Automation & Testing with APIs (Demo)
Q&A and Open Discussion
Perfect for developers, testers, and automation enthusiasts!
👉 Join our UiPath Community Berlin chapter: https://community.uipath.com/berlin/
This session streamed live on April 29, 2025, 18:00 CET.
Check out all our upcoming UiPath Community sessions at https://community.uipath.com/events/.
Spark is a powerhouse for large datasets, but when it comes to smaller data workloads, its overhead can sometimes slow things down. What if you could achieve high performance and efficiency without the need for Spark?
At S&P Global Commodity Insights, having a complete view of global energy and commodities markets enables customers to make data-driven decisions with confidence and create long-term, sustainable value. 🌍
Explore delta-rs + CDC and how these open-source innovations power lightweight, high-performance data applications beyond Spark! 🚀
Generative Artificial Intelligence (GenAI) in BusinessDr. Tathagat Varma
My talk for the Indian School of Business (ISB) Emerging Leaders Program Cohort 9. In this talk, I discussed key issues around adoption of GenAI in business - benefits, opportunities and limitations. I also discussed how my research on Theory of Cognitive Chasms helps address some of these issues
Linux Support for SMARC: How Toradex Empowers Embedded DevelopersToradex
Toradex brings robust Linux support to SMARC (Smart Mobility Architecture), ensuring high performance and long-term reliability for embedded applications. Here’s how:
• Optimized Torizon OS & Yocto Support – Toradex provides Torizon OS, a Debian-based easy-to-use platform, and Yocto BSPs for customized Linux images on SMARC modules.
• Seamless Integration with i.MX 8M Plus and i.MX 95 – Toradex SMARC solutions leverage NXP’s i.MX 8 M Plus and i.MX 95 SoCs, delivering power efficiency and AI-ready performance.
• Secure and Reliable – With Secure Boot, over-the-air (OTA) updates, and LTS kernel support, Toradex ensures industrial-grade security and longevity.
• Containerized Workflows for AI & IoT – Support for Docker, ROS, and real-time Linux enables scalable AI, ML, and IoT applications.
• Strong Ecosystem & Developer Support – Toradex offers comprehensive documentation, developer tools, and dedicated support, accelerating time-to-market.
With Toradex’s Linux support for SMARC, developers get a scalable, secure, and high-performance solution for industrial, medical, and AI-driven applications.
Do you have a specific project or application in mind where you're considering SMARC? We can help with Free Compatibility Check and help you with quick time-to-market
For more information: https://www.toradex.com/computer-on-modules/smarc-arm-family
This is the keynote of the Into the Box conference, highlighting the release of the BoxLang JVM language, its key enhancements, and its vision for the future.
AI and Data Privacy in 2025: Global TrendsInData Labs
In this infographic, we explore how businesses can implement effective governance frameworks to address AI data privacy. Understanding it is crucial for developing effective strategies that ensure compliance, safeguard customer trust, and leverage AI responsibly. Equip yourself with insights that can drive informed decision-making and position your organization for success in the future of data privacy.
This infographic contains:
-AI and data privacy: Key findings
-Statistics on AI data privacy in the today’s world
-Tips on how to overcome data privacy challenges
-Benefits of AI data security investments.
Keep up-to-date on how AI is reshaping privacy standards and what this entails for both individuals and organizations.
HCL Nomad Web – Best Practices und Verwaltung von Multiuser-Umgebungenpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-nomad-web-best-practices-und-verwaltung-von-multiuser-umgebungen/
HCL Nomad Web wird als die nächste Generation des HCL Notes-Clients gefeiert und bietet zahlreiche Vorteile, wie die Beseitigung des Bedarfs an Paketierung, Verteilung und Installation. Nomad Web-Client-Updates werden “automatisch” im Hintergrund installiert, was den administrativen Aufwand im Vergleich zu traditionellen HCL Notes-Clients erheblich reduziert. Allerdings stellt die Fehlerbehebung in Nomad Web im Vergleich zum Notes-Client einzigartige Herausforderungen dar.
Begleiten Sie Christoph und Marc, während sie demonstrieren, wie der Fehlerbehebungsprozess in HCL Nomad Web vereinfacht werden kann, um eine reibungslose und effiziente Benutzererfahrung zu gewährleisten.
In diesem Webinar werden wir effektive Strategien zur Diagnose und Lösung häufiger Probleme in HCL Nomad Web untersuchen, einschließlich
- Zugriff auf die Konsole
- Auffinden und Interpretieren von Protokolldateien
- Zugriff auf den Datenordner im Cache des Browsers (unter Verwendung von OPFS)
- Verständnis der Unterschiede zwischen Einzel- und Mehrbenutzerszenarien
- Nutzung der Client Clocking-Funktion
Andrew Marnell: Transforming Business Strategy Through Data-Driven InsightsAndrew Marnell
With expertise in data architecture, performance tracking, and revenue forecasting, Andrew Marnell plays a vital role in aligning business strategies with data insights. Andrew Marnell’s ability to lead cross-functional teams ensures businesses achieve sustainable growth and operational excellence.
2. findElement and findElements in
Selenium: Use Cases with Examples
When we want to interact with any web page, we use locators to
identify the web elements and interact with them using locators.
We use HTML elements on the web page while automating any
web based application using Selenium WebDriver.
Selenium WebDriver has two methods for identifying the web
elements, they are findElement and findElements.
1. findElement: This is used to uniquely identify any web
element within the web page.
2. findElements: This is used to uniquely identify the list of
web elements within the web page.
3. These methods are very important for locating web elements on a
web page, but they serve different purposes and have distinct use
cases.
Let us see what exactly the both methods are:
1. Find Element():
● findElement() is a method in the WebDriver Interface in
Selenium.
● It is used to locate the first element that matches the
specified locator strategy and conditions.
● If no matching element is found, it throws a NoSuch Element
Exception.
● The result of findElement() is always a single WebElement
object.
The findElement() method returns an object of the type
WebElement. It uses various locators such as ID, Xpath, CSS,
Name and ClassName.
Below is the syntax of findElement command:
WebElement elementName =
driver.findElement(By.LocatorStrategy("LocatorValue"));
Locator Strategy comprises any one of the locators. Locator value
is the unique value that identifies the web element.
2. FindElements():
4. ● findElements() is a method provided by the WebDriver
interface in Selenium.
● It is used to locate all the web elements that match the
specified locator strategy and conditions.
● If there are no matching elements, it returns an empty list.
● The return type of findElements() is a list of WebElement
objects.
The findElements() return an empty list if no matching elements
are found on the web page.
Syntax in Java:
Below is the syntax of findElements command
List<WebElement> elementName =
driver.findElements(By.LocatorStrategy("LocatorValue"));
Locator Strategy comprises any one of the locators. Locator value
is the unique value that identifies the web element.
Now let us see the differences between both methods:
Difference between find Element and find
Elements in Selenium
Find Element Find Elements
Exceptio
n
Handlin
g
Throws a
NoSuchElementException
when no matching element
is found.
Returns an empty list
(not null) when no
matching elements are
found.
Purpose Find the first matching
element based on the
locator you specify.
Finds all matching
elements based on the
locator.
5. Return
Type
A single WebElement
object.
A List of WebElements.
If no elements match, it
returns an empty list.
Use
Case
When interacting with a
single element
When working with
multiple elements or
checking if elements
exist
Now let us see use cases for each of the following methods:
How to use Selenium findElement
Let us see firstly how to use Selenium findElement method:
In the above screenshot, we are finding the unique locator for the
Google Search text box.
6. As you can see , it has the unique ID , using the ID , we have
created Xpath as below:
//textarea[@id=’APjFqb’]
Below is the code snippet in java:
driver.get("https://www.google.com/")
WebElement element =
driver.findElement(By.xpath("//textarea[@id='APjFqb']"));
#NoSuchElementException if no matching Element is found on
the page.
Now let us see the use case of the
findElements method in Selenium Java:
7. In the above screenshot, for the registration form of IRCTC
application, we have a locator class with value “col-xs-12
inputBoxPad” which matches with 8 web elements on the web
page.
Below is the code in Java Selenium:
driver.get("https://www.irctc.co.in/nget/profile/user-signup");
List<WebElement> elements =
driver.findElements(By.className("col-xs-12 inputBoxPad"));
System.out.println("Number of elements:" +elements.size());
for(int i=0; i<elements.size(); i++){
System.out.println("Input field:" +
elements.get(i).getAttribute("value"));
Multiple Locator Methods Using findElement
Method:
Selenium WebDriver provides the findElement(By) method to
locate and interact with web elements in a script. The find
Element method uses the locator object “By”. There are many
ways of using “By” with locators based on the requirement.
1. By ID:
driver.findElement(By.id(<element ID>))
8. 2. By Xpath:
driver.findElement(By.xpath(<xpath>))
3. By Name:
driver.findElement(By.name(<element-name>))
4. By Class Name:
driver.findElement(By.className(“<element-class>”))
5. By CSS Selector:
driver.findElement(By.cssSelector(<css-selector>))
6. By LinkText:
driver.findElement(By.linkText(<link text>))
Conclusion
understanding the differences between findElement() and
findElements() in SeleniumWebdriver Java is essential. These
two methods have different purposes and have unique use cases
while automating web based applications.
In brief, findElement() is used to locate and interact with a single
element, throwing an exception info Element is matching.
9. findElements() is used to locate multiple elements, returning an
empty list if none are matching.
Based on our needs, we can use either of them and create
efficient automation scripts.
Hope you liked it, Happy Testing!!
Source: This article was originally published at testgrid.io.