"Write the Smoke Tests" -- this is the ultimate answer for the questions:
- How do I start a new test automation project?
- What is the way to test that my PageObjects are still working correctly after the "nightly" product changes?
- What is the fastest way for my Test Automation Framework to bring the real value for my teammates and managers?

Can you imagine you can generate the Page Objects code in a fast and easy way with SWD Page Recorder?
Can you imagine you can generate the Smoke Tests for your PageObjects and the Application Under Test by pressing one button?

Let me show how you can increase your productivity in average 45% by using good tooling, patterns and practices during your daily work.

 
7 favorite thumb_down thumb_up 0 comments visibility_off  Remove from Watchlist visibility  Add to Watchlist
 

Outline/structure of the Session

Introducing the problem (5 min)

  • Time consuming Handcrafted PageObjects
  • Slow feedback loop. Will my tests fail?

Solutions

  • Reducing time on building and updating PageObjects (15 min)
    • Code Generation
    • Introduction to SWD Page Recorder
    • Demo
  • Speed up your feedback loop. Will my tests fail? (15 min)
    • Invokable PageObjects and page flows
      • Invoke
      • IsVisible()
    • Generated Smoke Tests
      • Common test for Invokable PageObject that verifies the pageobjects and the product's pages
      • SmokeTest for PageObject
      • SmokeTest for application
    • Demo

Conclusion: Efficient test automation from the DAY 1 (5 min)

Q&A (5 min)

Learning Outcome

The listener would learn:
- How to start test automation framework based on Page Object Model;
- Rapid Test Automation Development patterns and practices
- How to generate Page Objects with SWD Page Recorder
- How to generate the Smoke Tests
- The importance of the Smoke Tests
- How to bring the value to the Team starting from DAY 1

Target Audience

Test Automation Engineers, Software Developers, JAVA or C# Engineers, SDETs

schedule Submitted 2 years ago

Comments Subscribe to Comments

comment Comment on this Proposal

  • Anand Bagmar
    Anand Bagmar
    Director - Quality
    Vuclip Inc.
    schedule 2 years ago
    Sold Out!
    45 mins
    Demonstration
    Intermediate

    Typically in organizations, there are multiple projects / products. These products may be of implemented using tech-stacks over many years. Yet - they interact with each other in some way. To manage the complexity around Test Automation, many organizations prefer to have a common Test Automation solution across these products in an effort to build, standardize and maintain the framework.

    However, this is not a good idea! With this approach one potentially ends up having to compromise on the quality of automation that can be done for each product, limited by the toolset.

    The better approach would be to use the tools and technologies that are "right" for each product. This does have other disadvantages, but you would ensure each product is well tested! The only missing piece which remains is that these different products talk with each other. You need to test the integration between them in an automated way to verify all is well.

    "TaaS" is an open-source product solution that allows you do achieve the "correct" way of doing integration testing across a variety of products via Test Automation.

    Example: 

    For one set of products, Selenium-based toolset may be the right choice, where as for legacy reasons, QTP may be used for some other product. With TaaS - you will be able to automate the Integration Testing between these products, by re-using the tests already implemented in the individual product suites.

     

  • Liked Justin Woolley
    keyboard_arrow_down

    Justin Woolley - Automating for the Second Screen with WebdriverJS

    45 mins
    Talk
    Intermediate

    There has been a recent explosion in second-screen technologies such as Chromecast, but designing test automation for second-screen applications is far from straightforward. This new paradigm lacks major automated tool support, and coordinating test execution across multiple devices is tricky and error-prone.

    Our automation solution uses WebdriverJS and WebSockets to perform end-to-end test automation that covers our web player controller and second screen application.

    Learn about our approach to second-screen automation which we’ve used to build a reactive, responsive test suite. We’ll describe our solutions to synchronizing test flow between the controller and target device, validation on the device, targeting different integration components, and device management.

  • Liked James Farrier
    keyboard_arrow_down

    James Farrier - Making Your Results Visible - A Test Result Dashboard and Comparison Tool

    45 mins
    Demonstration
    Intermediate

    If a test fails in the woods and no one is there to see it does anyone care, does anyone even notice. What happens when failing tests become the norm and you can't see the wood from the trees? 

     

    After watching last years Allure Report presentation I was inspired.  Selenium tests (and automation tests in general) are often poorly understood by the team as a whole.  Reports/emails go unread with tests failing becoming an expected outcome rather than a glaring red flag.  We looked at what Allure brought to the table and from that base created a dashboard which was designed to:

    • Display the results of test runs in a way that was useful to managers, testers and the rest of the development team.  Including tools to filter out specific test runs and view the overall trend of the test run results.
    • Make debugging tests easier by grouping errors, displaying history of test results, filtering tests and offering visual comparison of test runs.
    • Help mitigate the problems flaky tests cause with test run result reporting (say that three times fast).
    • Help with our mobile device certification process, by easily providing a view to compare test runs across devices.

    Since it's creation the dashboard has been used and praised by managers through to developers.  With our full suite of tests from unit to integration to selenium and appium being stored on the dashboard.  We've managed to:

    • Decrease the time taken to debug test cases.
    • Increase the visibility of all our test suites, with managers having a better idea of how our selenium test suite is progressing and testers better understanding the coverage of unit tests.
    • Focus the organization on quality.

    We are working with legal at present to have this project open sourced and available to all prior to Selenium Conf 2015.

  • Liked Ragavan Ambighananthan
    keyboard_arrow_down

    Ragavan Ambighananthan - Distributed Automation Using Selenium Grid / AWS / Autoscaling

    45 mins
    Talk
    Advanced

    Speed of UI automation has always been an issue when it comes to Continuous Integration / Continuous Delivery. If UI automation suite takes 3 hours to complete, then any commit happens during this time will not be visible in test environment, because the next deployment will happen only after 3 hours. 

    With 2000+ developers and average 250+ checkins per day, the above issues is replicated 250+ times every day. This is not productive and feedback cycle is super slow!

    Another issue is , with 35+ different project teams using 10 or more different jenkins jobs to run their UI automation. So many jobs means (350+), individual teams need to go through the pain of managing their own jenkins job, its a duplicate effort and waste of time. Automation teams need to spend time on writing reliable automation and not managing jenkins jobs.

    Solution is to reduce the UI automation run time from hours to minutes and also use only handful of jobs to run the Distributed Automation!

    Goal: To run all UI automation scenarios within the time take by the longest test case

  • Liked Anand Bagmar
    keyboard_arrow_down

    Anand Bagmar - Create your Future!

    Anand Bagmar
    Anand Bagmar
    Director - Quality
    Vuclip Inc.
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Beginner

    With all the focus on Test practices and tools getting better for the present, it is easy to forget about the Future of Testing, especially in terms of Tools and Infrastructure? A question that always comes up in my mind - “Are we so caught up in the past and present, that we will not be as effective in the future?”

    In this talk, we will go on a journey to figure out what new challenges are coming up in the future, and more importantly, what do we need to do next to prepare for it. Also, just preparing for the future is not sufficient. We have an opportunity to stretch beyond our current set of skills, capabilities and boundaries to influence out future! The question is - will we make use of this opportunity? Will Selenium help us take the step in the right direction? Or, will it hold us back?

  • Liked Jason Watt
    keyboard_arrow_down

    Jason Watt - Challenges of the Mobile Cloud

    Jason Watt
    Jason Watt
    Senior Software Engineer
    Salesforce
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    Creating a mobile app is now the new cross platform problem. The major mobile platforms tend to gear their development tool chain towards individuals and their workstations.  But what if you want to introduce a CI solution to this environment? What if your app is launching on more than one platform and there's a team of 20+ developers working on it? What if your tests are more than just Selenium based?

    This is normally where you can look to the cloud for scale but mobile has a ton of challenges to do so.  Come and learn from some of the challenges and pitfalls I've encountered while working towards this goal.

  • Liked Sarah Thompson
    keyboard_arrow_down

    Sarah Thompson - DevOps meets QA - Using Puppet to set up and manage your Selenium Grid

    Sarah Thompson
    Sarah Thompson
    QE UI Toolsmith
    Puppet Labs
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    For testers, setting up and maintaining a Selenium Grid infrastructure can be timely and costly. A lot of the time, we are asked to do this as part of our day to day job when we really want to focus on testing the product!

    There are some great cloud based alternatives out there that allow you to easily run your tests on a wide range of Operating Systems and against multiple browser types (at a price).

    But what if you already have plenty of devices available within your own company (be it physical machines, virtual machines or cloud based resources) and you want to be able to setup and manage your own grid infrastructure:

    • to allow you greater control over the configuration (perhaps you want to have a headless browser like PhantomJS available on your grid)
    • to run your tests faster (the cloud based alternatives are a good bit slower for obvious reasons)
    • or to simply save money.
  • Liked Satyajit Malugu
    keyboard_arrow_down

    Satyajit Malugu - Adapting testing and automation for Mobile First

    Satyajit Malugu
    Satyajit Malugu
    Senior mobile tester
    Godaddy
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    Mobile-first is a paradigm shift in developing software where products are created with an emphasis on mobile experiences, rather than desktop. Mobile sites, native apps become the new centerfold for the company around which various other initiatives and goals are driven. This paradigm has been in adoption by major industry players including Google, facebook, Airbnb, ebay, shopify etc.

     

    From a development standpoint it is not really different from traditional websites after you get UX but testing is quite different. You have to consider various devices, screen sizes, performance and visual testing. Automation should focus on tackling the most time consuming manual aspects which include functionality, visual parity and device compatibility.

     

    Our $5B company has been in a mobile-first transformation this year, spanning many legacy products and teams. As a senior SDET leading the testing efforts I have been involved in various phases of this transformation. I believe this talk would give practical insights in mobile web development and testing.

  • Liked Manoj Pahuja
    keyboard_arrow_down

    Manoj Pahuja - Measuring the metrics to make them reliable, fast and valuable- What, why and How?

    Manoj Pahuja
    Manoj Pahuja
    Test Architect
    Godaddy
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    UI Tests are fragile by nature. The reliability and execution times are common challenges. If you add scaling UI tests for multiple runs, multiple times a day and environmental instabilities, it becomes very difficult to find the right information related to these tests. Running through and Understanding test results across different builds takes a lot of time. You get too many false alarms and now you have reached a point where nothing is an alarm. Get to know some practical approaches and success stories on how you can distribute all tests across multiple machines, VMs, cloud services and still be able to combine all the results in a easy to read and understandable report. Fix reliability and improve speed of your tests.

  • Liked Aaron Evans
    keyboard_arrow_down

    Aaron Evans - Looking ahead: testing responsive, mobile, and native apps with Selenium

    Aaron Evans
    Aaron Evans
    Test Consultant
    One Shore
    schedule 2 years ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    Selenium made test automation easier and affordable for many software development teams, but it had many limitations.  It was limited to DOM manipulation in the browser, it depended on explicit waits.  

    Webdriver helped overcome some of these deficiencies and took Selenium to the next level.  Other extensions like Appium have enabled us to use the familiar Selenium API for testing mobile apps.  Proprietary frameworks allow you to integrate Selenium with native extensions and ALM tools.  But a new category of apps is coming with responsive UIs, rich client side Javascript frameworks, touch screens (with pinch/zoom, swipe, rotation, etc) and interact with native device features (such as GPS, accelerometer, local storage) and apps are becoming a collection of interactive services.  

    Is Selenium becoming outdated?  What can we do to keep up with these new interfaces and architectures?

    In this talk, we'll discuss some of the challenges and limitations facing testers using Selenium with this new generation of apps.  We'll cover some of the solutions people are using today, and propose a new way to address these issues and others going forward.

  • Liked Anthony Browness
    keyboard_arrow_down

    Anthony Browness - Dependency Injection in the Page Object Model

    45 mins
    Talk
    Advanced

    The Page Object Model is awesome, but you can make it even better with Dependency Injection.  I'll show you how to get started and some benefits of using Spring IOC in your Page Objects.  Though the concepts of this talk can be extended to any language, the examples will be shown in Java.

  • Anand Bagmar
    Anand Bagmar
    Director - Quality
    Vuclip Inc.
    schedule 2 years ago
    Sold Out!
    45 mins
    Case Study
    Advanced

    Page-Object pattern is very commonly used when implementing Automation frameworks. However, as the scale of the framework grows, there is a limitation on how much reusability really happens. It inherently becomes very difficult to separate the test intent from the business domain.

    Learn more about this problem, and the solution (by means of real-project examples) - Business Layer - Page - Object pattern, which has helped me keep my code DRY.