Skip to main content

Posts

Showing posts with the label Selenium

Selenium WebDriver : How to write test cases to search anything in Google (c#)

using System; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Chrome; using OpenQA.Selenium.Support; using OpenQA.Selenium.Support.UI;

Selenium 2.0 (WebDriver)

WebDriver or selenium 2.0 is the most widely used tool of selenium family.  This API fit with the same role played by Selenium RC.  In simple way can be express webdriver in following format, Selenium 1.0 (IDE) + RC = Selenium 2.0 This has come to address to reduce limitations of RC server and to overcome the IDE drawbacks (only support for Firefox browser). In the long run WebDriver goal is to provide fully object oriented supporting testing tool which will give the durable solution to many modern advanced web application testing difficulties.   Supporting browsers Firefox, Internet Explorer, Chrome, Safari, Opera, Android, iPhone (Calls native methods of the browsers).    Supporting programming languages C#, Java, Ruby, Python, JavaScript  Supporting operating system Windows, Solaris, Linux

Selenium IDE - Integrated Development Environment

Selenium IDE is an easy-use tool for any person and which is designed to work with Firefox. It is a Firefox plugin with with graphical user interface. This  GUI will allow user to record test actions and replay. But this can be used only with Firefox browser as other browsers. However the recorded test scripts can be converted in to any languages supported by selenium. Set Up Environment (use Firefox browser) Go to URL- http://seleniumhq.org/download/ and download latest selenium IDE version. It will add as a add-on. After that go to tool of the browser and check whether selenium has been added.

Selenium

What is Selenium ? Selenium an open source web testing toll which is widely used in information technology industry for test automation.It was originally developed by Jason Huggins as an internal testing tool for ThoughtsWorks.  Many Companies , let's say most are currently developing web based solutions to be run in an internet browser. Selenium support all common browsers for automation. Also it supports to write/run test cases without learning scripting languages as well as to all common languages such as Java, C#, PHP, Python, Ruby and Groovy scripts. Hence QA engineer able to use own test cases and run through selenium.  Selenium is not just single tool but is set of tool which are used in various scenarios.  Lets understand about them.