background preloader

Selenium

Facebook Twitter

Selenium FAQ ~ Information Technology. 1) Which is the command used for displaying the values of a variable into the output console or log? 2) What are the capabilities of Selenium WebDriver or Google WebDriver or Selenium 2.0? Capabilities of Selenium WebDriver or Google WebDriver or Selenium 2.0 are:One should use WebDriver when requiring improved support for1. Mult-browser testing including improved functionality for browsers not well-supported by Selenium-1.0.2.

Handling multiple frames, multiple browser windows, pop-ups, and alerts.3. Page navigation.4. Drag-and-drop.5. 3) Which are the browsers supported by Selenium RC? Browsers supported by Selenium RC are:1. 4) What are the Operating Systems supported by Selenium? Operating Systems supported by Selenium are:Selenium IDEWorks in Firefox 2+ Start browser, run tests Run testsOperating Systems Supported:1. Selenium Remote ControlUsed for starting browser and run testsOperating Systems Supported:1. Selenium CoreUsed for running testsOperating Systems Supported:1. Automated web testing with Selenium. Introduction Selenium is a robust set of tools that supports agile development of test automation for web-based applications across many platforms. It is an open source and lightweight automation tool that can be easily integrated into various projects, supporting multiple programming languages such the as .NET, Perl, Python, Ruby, and the Java™ programming language. Back to top Testing an Ajax application with Selenium Asynchronous JavaScript and XML (Ajax), is a web development technique for creating interactive web applications.

A characteristic of an Ajax application is that it will not cause an entire page to reload each time. We first act on the web page, then wait until the asynchronous call completes. One choice is to simply pause for a fixed time in the test application, which may work in most cases. Selenium has provided more-efficient ways to handle waiting. Listing 1. Listing 2. How to support Dojo applications Figure 1. Figure 2. Figure 3. Codes in RC are shown in Listing 3. Selenium for Mobile by ittiel savir on Prezi. Automating Selenium with Ant. Or How to Enable Multi Browser Testing with JUnit Reports In order to pass in the browser selection from the Ant script code like this is required in your JUnit Selenium Web Driver tests.

I put this code into the parent class that all my Selenium JUnit tests extend. @BeforeClass public static void startSelenium() throws Exception { Properties sysProps = System.getProperties(); String browser = sysProps.getProperty("browser.property"); if (browser == null) { driver = new InternetExplorerDriver(); } else if (browser == "*firefox") { driver = new FirefoxDriver(); In the Ant build.xml file you will find the code: Which tells the JUnit code which browser to launch. You will also see: This tells JUnit to build a html report of the test results when finished. © Copyright 2013 LMN SolutionsIf you have a question e-mail us or add a comment.

Mobile Testing - Selenium

Getting started with Selenium 2 and WebDriver | QA Automation. Youtube- selenium rc with eclipse. Selenium Tutorial for Beginner/Tips for Experts. Karthik elearn. Register here Hungry for more? Master of Software Testing (MoST) is a rigorous 200 hours/10 weeks online training program aimed at providing the best training platform for an entry level beginner into Software Testing industry.

This course has been designed after spending 4 years in training over 10,000 global participants in software testing / automation and enabling thousands more to get into a job. Selenium Tutorial 1 Selenium IDE Testing RC Selenium Web Driver GRID Selenium Framework Training. Video - Functional testing with Selenium IDE. Selenium web application testing system.

Selenium ide

Selenium. Videos.