Selenium automated testing in Openbravo ERP Quality Assurance Webinar April 8th, 2010.

Slides:



Advertisements
Similar presentations
Test Automation with Selenium
Advertisements

Selenium Tutorial. What is Selenium? Javascript framework that runs in your web- browser Works anywhere Javascript is supported Hooks for many other languages.
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
® IBM Software Group © 2010 IBM Corporation What’s New in Profiling & Code Coverage RAD V8 April 21, 2011 Kathy Chan
Test Automation Tools: QF-Test and Selenium
Automating with Open Source Testing Tools Corey McGarrahan rSmart 01-July-08.
Selenium HP Web Test Tool Training
Test Automation Framework Ashesh Jain 2007EE50403 Manager Amit Maheshwari.
By SAG Objectives Cross platform QA Automation for web applications Scheduling the automation Automatically build the test scripts Generate the.
Server-Side vs. Client-Side Scripting Languages
Google Web Toolkit - Gufran Mohammed. Google Web Toolkit (GWT) is an open source Java software development framework that makes writing AJAX applications.
Multiple Tiers in Action
EValid Getting Started. Agenda Introduction to eValid First experience of using eValid Recording and Site Analysis in eValid.
By: Gerardo L. Mazzola Web Application Development Life Cycle “A driven force moving businesses into the future.”
Automated Testing Nathan Weiss April 23, Overview History of Testing Advantages to Automated Testing Types of Automated Testing Automated Testing.
XIS™ XML Intranet System. XIS, the XML Intranet System provides the foundation for your database production and management. XIS maximizes the flexible.
Selenium – Testing Tool. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
© 2011 LogiGear Corporation. All Rights Reserved Capturing Interface Presenter: Thuy Tran.
© 2006 by IBM 1 How to use Eclipse to Build Rich Internet Applications With PHP and AJAX Phil Berkland IBM Software Group Emerging.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
Automation using Selenium Authored & Presented by : Chinmay Sathe & Amit Prabhu Cybage Software Pvt. Ltd.
- Chaitanya Krishna Pappala Enterprise Architect- a tool for Business process modelling.
Overview of JSP Technology. The need of JSP With servlets, it is easy to – Read form data – Read HTTP request headers – Set HTTP status codes and response.
Sikuli Ivailo Dinkov QA Engineer PhoneX Team Telerik QA Academy.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. Dynamic Action with Macromedia Dreamweaver MX Barry Sosinsky Valda Hilley.
© 2012 WIPRO LTD | 1 Version 1.0a, 23 rd April 2012 TTCN-3 Users Conference Practical integration of TTCN-3 with Robot test automation framework.
Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson.
Robot Framework – Basic Level. Date: Version:1.0 Page 1.
Selenium Web Test Tool Training Using Ruby Language Discover the automating power of Selenium Kavin School Kavin School Presents: Presented by: Kangeyan.
© 2012 LogiGear Corporation. All Rights Reserved Robot framework.
Exploring an Open Source Automation Framework Implementation.
1 3. Computing System Fundamentals 3.1 Language Translators.
Selenium and Selenium on Rails. Agenda  Overview of Selenium Simple Selenium Tests Selenium IDE  Overview of Selenium on Rails  Problems with Selenium.
Web Automation Testing With Selenium By Rajesh Kanade.
BIT 286: Web Applications Automated Web Testing. Selenium  Selenium Is moving from being Firefox based to being more of a 'normal desktop' program that.
Pubman and Selenium tests. What is Selenium Selenium is a suite of Web application test automation tools for any browser on any operating system –Firefox,
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Technical Presentation
New Selectors Extension Module Webinar March 11th, 2010.
Wizard to add new Fields Module Extension Module Webinar 21 st of January 2009.
Selenium January Selenium course content  Introduction (Session-1)Session-  Automation  What is automation testing  When to go for automation.
Introduction Selenium IDE is a Firefox extension that allows you to record, edit, and debug tests for HTML Easy record and playback Intelligent field selection.
Test Automation For Web-Based Applications Portnov Computer School Presenter: Ellie Skobel.
Plug-in Architectures Presented by Truc Nguyen. What’s a plug-in? “a type of program that tightly integrates with a larger application to add a special.
Test Automation For Web-Based Applications Portnov Computer School 1 Selenium HP Web Test Tool Training.
Rich Internet Applications 2. Core JavaScript. The importance of JavaScript Many choices open to the developer for server-side Can choose server technology.
Selenium server By, Kartikeya Rastogi Mayur Sapre Mosheca. R
Test Automation Using Selenium Presented by: Shambo Ghosh Ankit Sachan Samapti Sinhamahapatra Akshay Kotawala.
Robot Framework – Basic Level. Date: Version:1.0 Page 1.
WebScan: Implementing QueryServer 2.0 Karl Geiger, Amgen Inc. BRS NA UG August 1999.
QA Online Training In QA Click Academy. Selenium is a test automation framework used to test web applications such as browsers. It consists of different.
Zhuhai Test Automation Overview Ryan Li Team lead of test automation Foglight QA.
Arklio Studija 2007 File: / / Page 1 Automated web application testing using Selenium
Introduction of Selenium Eli Lu 2016/10/13. Outline What is selenium ? Selenium Projects Selenium Sponsors Easy to use Useful Feature & Tools Useful Links.
Web driver and its comparison Selenium RC. Selenium web driver: It's web automation testing out framework that assists to execute assessments throughout.
Best Way to Learn Selenium Course in Online. Looking to learn best testing tool? If your preference is selenium testing then your choice is perfect. The.
Leverage your Business with Selenium Automation Testing
Selenium and Selenium on Rails
JRA2: Acceptance Testing senarious
Testing with Selenium IDE
Introduction of Selenium Webdriver Using Java
Selenium Automation Framework
What is selenium? Selenium is a portable software-testing framework for web applications. Selenium provides a playback (formerly also recording) tool.
Web UI testing automation and Selenium
Selenium Web Test Tool Training Using Ruby Language
ARCHITECTURE OVERVIEW
Selenium Tutorials Cheyat Training.
AIMS Equipment & Automation monitoring solution
Presentation transcript:

Selenium automated testing in Openbravo ERP Quality Assurance Webinar April 8th, 2010

Page 2 Agenda Automated integration testing10 minutes – Selenium – Benefits – Other used tools – Selenium IDE Automated integration testing in Openbravo10 minutes – What to automate? – Design – Stepping through code Making an automated test for Openbravo10 minutes – How to automate a test case? – Extend an existing test case Q & A30 minutes

Page 3 Automated integration testing – Selenium – Benefits – Other used tools – Selenium IDE Automated integration testing in Openbravo – What to automate? – Design – Stepping through code Making an automated test for Openbravo – How to automate a test case? – Extend an existing test case Q & A

Page 4 Selenium Selenium is a free software testing framework for web applications. Selenium Remote Control - – Allows to write tests in any programming language that can make HTTP requests; using any mainstream JavaScript- enabled browser. – Consists of: A server which automatically launches and kills browsers, and acts as a HTTP proxy for web requests from them. Client libraries for Python, Ruby,.NET, Perl, Java, and PHP. – Includes Selenium Core (the test execution framework) as its engine and automatically loads it into the browser.

Page 5 Benefits The testing suites can be executed daily, to check the most recent changes. It takes less time than a manual execution. Spot errors that a human might not notice. Prevent regressions. Free staff to do other non-repetitive tasks and to look for errors that a machine can't spot.

Page 6 Other used tools Selenium IDE: a Firefox extension that allows to record, edit, debug and play back tests. Firebug: a Firefox extension that lets you inspect the HTML file of a web page on an easy way. With it you can also edit and debug the code of a page. Xpath Checker: a Firefox extension that shows the XPath of an element on a web page. In addition, you can write your own XPath expressions and see the elements that match. Ant: a software tool for automating software build processes. JUnit: a unit testing framework for the Java programming language. Eclipse: Java/JUnit development environment

Page 7 Selenium IDE

Page 8 Automated integration testing10 minutes – Selenium – Benefits – Other used tools – Selenium IDE Automated integration testing in Openbravo10 minutes – What to automate? – Design – Stepping through code Making an automated test for Openbravo10 minutes – How to automate a test case? – Extend an existing test case Q & A30 minutes

Page 9 What to automate? Drivers and restrictions – Automation is a time consuming task. – Maintainability is an issue. – Only very stable flows should be automated. – Automated test cases have sense if executed at least ten times. – Only user-visible actions are performed – Javascript events could be missed by Selenium. Our pick – The Acceptance test

Page 10 Design: General diagram Test Suite Test cases StepsVerifications Expected Results Openbravo ERP (Running in a web browser) Windows FieldsButtonsLinks Selenium Tests Automated test cases Test controllers Screen definitions Parameters 2 1

Page 11 Stepping through 1/2: Test controllers Test cases StepsVerificationsExpected Results Automated test cases Test controllers Parameters Test controllers are closer to Functional Test Cases They know about common steps Based in superclass OpenbravoERPTest.java

Page 12 Design: General diagram (Again) Test Suite Test cases StepsVerifications Expected Results Openbravo ERP (Running in a web browser) Windows FieldsButtonsLinks Selenium Tests Automated test cases Test controllers Screen definitions Parameters

Page 13 Stepping through 2/2: Screen definitions Screen definitions are closer to HTML pages. They know about Fields, Buttons, Links. Windows FieldsButtonsLinks Automated test cases Screen definitions Parameters

Page 14 Automated integration testing10 minutes – Selenium – Benefits – Other used tools – Selenium IDE Automated integration testing in Openbravo10 minutes – What to automate? – Design – Stepping through code Making an automated test for Openbravo10 minutes – How to automate a test case? – Extend an existing test case Q & A30 minutes

Page 15 How to automate a test case? Document the scenario and execute it manually. Visit Testlink at Understand the design. Read the documentation and implementation of the main classes. Look for code that you can reuse. Code missing screen definitions. Write the test controller. Test your test.

Page 16 Extend an existing test case – The screen definition 1/

Page 17 Extend an existing test case – The screen definition 2/

Page 18 Extend an existing test case – The test controller

Page 19 Extend an existing test case – The test controller

Page 20 Extend an existing test case – Creating the file 1 2

Page 21 Extend an existing test case – Running the test case

Page 22 Extend an existing test case – Results

Page 23 Wrap-up Selenium is a powerful tool for tests automation. Openbravo uses Selenium and other tools as part of its Quality Assurance processes. You can use those tools and the automation framework provided by Openbravo to test your Openbravo ERP instances and modules.

Page 24 More info The source code is available at Ask your questions and give us your suggestions in The documentation is in the wiki Pablo Luján Arun Kumar Leo Arias elopio at #openbravo on irc.freenode.net

Page 25 Next webinar: “Life Cycle Management” April 22nd, 2010 IMPORTANT! Special time: 10:00 (CET)

Page 26 Q & A