Automated UI Testing with Seleno.

Slides:



Advertisements
Similar presentations
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,
Advertisements

Shailen Sukul Senior Solutions Architect EMC BSc | Mct | Mcpd (.Net 2/3.5) | Mcts (Sharepoint (MOSS/WSS), Biztalk, Web, Win, Dist Apps) | Mcsd.NET | Mcsd.
Web based testing: Chucklist and Selenium
Selenium – Testing Tool. What is Selenium? Selenium is a robust set of tools that supports rapid development of test automation for web-based applications.
Using Microsoft SharePoint to Develop Workflow and Business Process Automation Ted Perrotte National Practice Manager, Quilogy, Microsoft Office SharePoint.
MCTS: Pass one of 42 exams (a few require two). Double counters are , 642, 680, 620, 432, 448, 662, 667, 664, 511, 513, 516, 536, 505, 562, 505,
Automation using Selenium Authored & Presented by : Chinmay Sathe & Amit Prabhu Cybage Software Pvt. Ltd.
Software Developer Career. ◦ Desktop Program development ◦ Web Program Development ◦ Mobile Program Development.
Ivan Marković MSP Lead Software Developer at SPAN d.o.o. m.
Val Kravets, Luis Sanchez, Allen Chung, Phillip Anderson, Leyla Norooz, Brian Ramnarian, Todd Watson.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
Information Technology Careers Chapter 15 – Computers: Understanding Technology.
Testing web applications with Selenium Gannon University Frank.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
2013 Dynamics SL Event May 15, As of 5/1/2013 the most recent version of MR is 2012 Rollup 5 Proceed with caution if you choose to update your MR.
MVC Design Pattern Web Developer at Crimshield, Inc Application Developer at IBM Present - Delta Developer at Tides.
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
And the PageObject Design Model.  How Selenium Remote Control works  You launch a server on your test machine.  Your tests connect to that server via.
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.
WEP Presentation for non-IT Steps and roles in software development 2. Skills developed in 1 st year 3. What can do a student in 1 st internship.
AUC Technologies Projects Consulting, Development, Mentoring, and Training Company ASP.NET Validation Control Presented By : Muhammad Atif Hussain Deputy.
Microsoft Learning Paths Microsoft Azure Architect Training Requirements.
Yauhen Kavaliou Andrei Palchys “We don’t need QA anymore” or Protractor.
Senior Project, 2015, Spring Senior Project Website –Version 5 Student: Yamel Peraza, Florida International University Mentor: Masoud Sadjadi, Florida.
Web Development in Microsoft Visual Studio 2013 / 2015.
EFFECTIVE QA PROCESS FOR PVC Prepared by:PVC QA Team.
05 | Integrating JavaScript and MVC 4 Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Testing Your Alfresco Add-ons Michael Suzuki Software Engineer.
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.
Bob German Principal Architect Developing SharePoint Applications with MVC and Entity Framework.
Hanoi - December 2012 Capstone Project. Project Team Supervisor: Mr. Nguyen Hong Ky FLIS Team: Pham Hoang Phuong Chu Dinh Nam Pham Van Quyen-
Automation Testing Trainer: Eran Ruso. Training Agenda Automation Testing Introduction Microsoft Automation Testing Tool Box Coded UI Test and Unit Test.
Testing Your Alfresco Add-ons Michael Suzuki Software Engineer.
What is Selenium Web Driver? - Selenium Training Collection.
Introduction ITEC 420.
Joy Rathnayake Senior Architect – Virtusa Pvt. Ltd.
Building Enterprise Applications Using Visual Studio®
Associate Certification Track
Microsoft Certification Paths
The Zen of UI Test Automation
Selenium HP Web Test Tool Training
Testing with Selenium IDE
Information Technology Careers
Associate Certification Track
Automation Testing with Visual Studio Team System Tester Edition
Selenium HP Web Test Tool Training
Introduction of Selenium Webdriver Using Java
Associate Certification Track
Building Web Applications with Microsoft ASP
Office 365/OneDrive Installation Guide.
Software Quality Assurance
CO6025 Advanced Programming
Atit Leelasuksan Rungroj Maipradit
WEB 407 Competitive Success/snaptutorial.com
ASP.NET Web Forms Vs. ASP.NET MVC ASP.NET is Microsoft’s big leap after Active Server Pages (ASP), ASP.NET provides flexible and unified web development.
What is selenium? Selenium is a portable software-testing framework for web applications. Selenium provides a playback (formerly also recording) tool.
WEB 407 Education for Service-- snaptutorial.com.
WEB 407 Teaching Effectively-- snaptutorial.com
Haden Jackson-Robbins
Automation with Gwen Introduction.
Associate Certification Track
Web UI testing automation and Selenium
Microsoft Certification Paths
Unit Testing & Test-Driven Development for Mere Mortals
DevOps Meetup | Test Automation | 3/19/2012
Selenium Tutorials Cheyat Training.
HCL’s Viewpoint – DevOps on MS Cloud
UI test automation of MVC apps with Microsoft Edge WebDriver
Lecture 34: Testing II April 24, 2017 Selenium testing script 7/7/2019
Presentation transcript:

Automated UI Testing with Seleno

Mark Nischalke Over 19 years of experience in full lifecycle software development, from analysis and requirements gathering to design, development and deployment. Architected and designed solutions for Fortune 100 companies and smaller organizations spanning a number of different industries. Solutions have utilized a variety of technologies, including Azure, ASP.NET, ASP.NET MVC, SharePoint, JavaScript, and Microsoft SQL Server. Experienced Solution Architect, manager, team lead, mentor, trainer and Project Manager, with training from the Project Management Institute. Microsoft certifications including MCPD, MCSD, MCAD, MCSA and MCTS www.mansoftdev.ccom mark@mansoftdev.com

Agenda What is Unit Testing? What is UI Testing? Selenium web browser automation Seleno with MVC Demo Q&A

What is Unit Testing? Exercising code base to ensure quality Multiple frameworks NUnit MS Test [TestClass] public class FooTest { [Test Method] public void Foo_HappyPath_Test() Foo sut = new Foo(); var actual = sut.GetBar(); Assert.IsNotNull(actual); }

What is UI Testing? Testing page elements Ensuring page level logic Textboxes, buttons, validations Ensuring page level logic Elements shown/hidden Proper ranges set Problems Manual process Error prone Time consuming Tedious

Selenium Suite of tools to automate web browsers Java-based Open source WebDrivers Chrome IE Firefox Safari IDE as Firefox add-in

Selenium // Initialize the Chrome Driver using(var driver = new ChromeDriver()) { // Go to the home page driver.Navigate().GoToUrl("http://myapp/login"); // Get the page elements var userNameField = driver.FindElementById("userName"); var userPasswordField = driver.FindElementById("password"); var loginButton = driver.FindElementByXPath("//input[@value='Login']"); // Type user name and password userNameField.SendKeys("admin"); userPasswordField.SendKeys("12345"); // and click the login button loginButton.Click(); }

Seleno Distributed by TestStack Uses Selenium Strongly typed view models Page Objects

Seleno Page Objects The usage of the Page Object design pattern creates a strong separation of concerns between tests and Page Objects. The tests specify what should happen and the Page Objects encapsulate how it happens. Page Objects encapsulate all of the interaction with Selenium, and all of the logic of that interaction.

Demo project …FINALLY, CODE

Q & A

References Sample and article http://www.mansoftdev.com/blog https://github.com/marknisc/Seleno mark@mansoftdev.com Seleno http://seleno.teststack.net SeleniumHQ http://docs.seleniumhq.org/