12
Discover the automating power of Selenium QAAgility Technologies Presents: Presented by: Ashish Mishra Copyright: 2010, All rights reserved by QAAgility Technologies. Republishing requires author’s permission

0Selenium Tutorial Day 1 - Selenium and IDE Overview

Embed Size (px)

Citation preview

Page 1: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

Discover the automating power of Selenium

QAAgility Technologies Presents:

Presented by: Ashish Mishra

Copyright: 2010, All rights reserved by QAAgility Technologies. Republishing requires author’s permission

Page 2: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

Born and raised in Mumbai. Careless student throughout the school, accidental merit-list holder in SSC, only then realized the academic potential. Graduated B.E. (Comp. Sc.) in 1994.

Started as Trainee S/W Engineer at Tangerine-Compaq, worked until got a chance to fly to USA in 1996. Visual Basic, Oracle, PowerBuilder, LAN Management, Learned by being PA to the Team Lead

Worked at IBM, NY as Software Engineer until 1997, tri-state area, suburban American life. Visual Basic, Domino, C++, Cultural Adjustment, Shock then Surprise

Got admission to Stevens Tech for Masters program near NYC so moved to JPMorgan Chase in 1998. Big bad Manhattan. Hectic job at day, more hectic academic life at night

Worked with JPMorgan Chase as Senior S/W Consultant until 2002. Demanding Bankers Graduated M.S. (Comp. Sc.) in 2000. Campus life in US rocks More degrees… PG Business Management Certification Program at NYU in 2001. Moved back to India, (got an offer I couldn’t refuse, promoted as Assistant Vice

President) in Global Service Center, JPMorgan, Mumbai in 2002. Migration Management, Client Management, Quality and Process Management. Handled London, New York, Japan, Honk Kong based clients. Even more demanding, technology-illiterate Bankers

Worked on various positions over the years to move out to the “pure” IT industry and joined L&T Infotech in 2006. Account Manager for the BFS domain clients. Just get more and more business, at any cost

Now that I had seen both sides (being Client and Services), I started my own Consulting Company. We are into Test Consulting and Automation.

Book on Selenium published by Tata Mcgraw Hill, writing couple of more on Webdriver and BDD using Cucumber/Capybara.

Training and Mentoring is my passion Discover the automating power of Selenium

Copyright © 2009-2011 by QAAgility Technologies 2

Page 3: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 3

Day

Selenium Overview Selenium IDE Introduction

1

Page 4: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

• In 2004 invented by Jason R. Huggins and team. • Original name is JavaScript Functional Tester

[JSFT] • Open source browser based integration test

framework built originally by Thoughtworks • 100% Javascript and HTML • Designed to make test writing easy • Ability to run whole suites of tests or individual

tests • Ability to step through individual tests • Cross browser – IE 6/7, Firefox .8+, Opera, Safari

2.0+

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 4

Page 5: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 5

• Developed by ThoughtWorks to test the new time and expenses system

This is how the need for Selenium started.

Page 6: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

6

• Selenium is a chemical element with the atomic number 34, represented by the chemical symbol Se. It is a nonmetal, chemically related to sulfur and tellurium, and rarely occurs in its elemental state in nature.

Selenium.

Page 7: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 7

• Mercury Quality Center (MQC) is developed by Mercury Interactive Corporation (Now HP owns it)

Mercury

•Professionals used MQC, QTP, WinRunner, LoadRunner and TestDirector

•Selenium users usually known at least any one of the Mercury Products

Page 8: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

•Selenium is a portable software testing framework for web applications. •The tests can be written as HTML tables or coded in a number of popular programming languages and can be run directly in most modern web browsers. •Selenium can be deployed on Windows, Linux, and Macintosh. •Selenium is used for UAT (User Acceptance Test)

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 8

Page 9: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

•Selenium consists of –Selenium RC/Selenium 2.x –Selenium Grid –Selenium IDE

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 9

Presenter
Presentation Notes
Page 10: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

• Selenium IDE (SIDE) is a complete Integrated Development Environment (IDE) for Selenium tests (previously known as Selenium Recorder).

• Firefox extension that allows recording and editing of tests

• Allows easier development of tests

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 10

Page 11: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

• Selenium was developed by a team of programmers and testers at ThoughtWorks.

• Selenium is open source software, released under the Apache 2.0 license and can be downloaded and used without charge.

• The Selenium Grid provides a hub allowing the running of multiple Selenium tests concurrently on any number of local or remote systems, thus minimizing test execution time.

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 12

Page 12: 0Selenium Tutorial Day 1 - Selenium and IDE Overview

1. What are the Testing Tools you know? 2. Do you know any testing Tool which tests cross-browser

compatibility? 3. Find any five testing tools. Provide brief description

about the tool. 4. Find any 5 differences between the Functional Unit Test

Tools you know and Selenium. 5. What is a Open Source Project? 6. What is a GPL (General Public License)? 7. What are the web development mark-up languages you

know? 8. What are the scripting languages you know?

Discover the automating power of Selenium Copyright © 2009-2011 by QAAgility Technologies 13