Skip to main content

Customer Expects SIT in full swing!

Selenium Web driver - Introduction

Selenium is a Web Browser automation tool, which basically means you can use it to surf web programmatically on real web browsers. But mostly selenium is used for testing web applications. It has packages for most programming languages.

The major challenge in executing a Selenium script would be finding the element for the page, there are many in build functions which are used the items are listed below:

  • find_element_by_id
  • find_element_by_name
  • find_element_by_tag_name
  • find_element_by_xpath
  • find_element_by_link_text
  • find_element_by_partial_link_text
  • find_element_by_class_name
  • find_element_by_css_selector

Actions Commands and Operations

Comments

Popular posts from this blog

Selenium - Basic Commands

Creating New Instance WebDriver driver = new FirefoxDriver() The above command is used to open a new instance of Firefox driver Command To Open URL In Browser driver.get("http://only-testing-blog.blogspot.com/2013/11/new-test.html"); This syntax will open specified URL of software web application in web browser. Clicking on any element or button of webpage driver.findElement(By.id("submitButton")).click(); Above given syntax will click on targeted element in webdriver. Store text of targeted element in variable String dropdown = driver.findElement(By.tagName("select")).getText(); This syntax will retrieve text from targeted element of software web application page and will store it in variable = dropdown. Typing text in text box or text area. driver.findElement(By.name("fname")).sendKeys("My First Name"); Above syntax will type specified text in targeted element. VIEW PRACTICAL EXAMPLE OF SendKeys Appl...

Software Testing - Overview

Hi Friends, Welcome to a quick look up site, where you can know what is "T" "E" "S" "T" "I" "N" "G"! This site gives you the Overview as well the in-depth details of Software Testing, Approaches, Practices and additional tools which are required in Software testing practice. You could have imagined why this guy is speaking like a Professor. You as a reader knows right now a days people want's them to showcase and make things complicated. But I can assure reading this blog site you will enjoy learning in the same time not feel like in living in a 4th Dimensional world  (The Interstellar way ;-) ). Fun's apart! So lets start the story of Software Testing! Before I start I wan't to personally thank my English teacher for making me type a decent English and my Testing Guru Mr. Aravinth Kumar for giving me the complete knowledge of Software testing. To start with the story, we need to know about ab...

Selenium Tutorials

Introduction: Selenium Webdriver Is open source software testing tool which supports many different browsers. It Is also supporting many different software programming languages like Python, Ruby, C#, Java, PHP and Perl so that you can create your test cases using your preferred language. Current days, Most popular language Is Java to prepare your software application automation test cases with selenium webdriver. To get a deep stretch to Selenium concepts I have splited the concepts based on the slow process approach In this tutorial we are going to see what is Selenium Automation testing is all about! before we deep dive into the concepts we will have few Introduction about "Automation Testing" the difference between Test case and Test scripts and different tools in Market. Automation Testing: It is a process of converting manual Test cases to Automated Test scripts by using an Automation Tool is called Automation Testing. Difference between Test Cas...