One of the painful problems in Selenium automated testing is determining whether a HTML page has been loaded. This is especially the case when web application uses a JS  heavy framework such as the popular AngularJS.

During this talk we will discuss how to handle Selenium Page Object pattern better with Loadable Component.

The Loadable Component helps test case developers make sure that the page or a component of the page is loaded successfully. I will share my experience about the concept of the Loadable Component and Page Object patterns.

 

 

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

Outline/structure of the Session

Here are main topics of the talk:

  1. Introduction
  2. Page Object Design Pattern and Page Factory
  3. Why use the LoadableComponent pattern?
  4. Introducing the LoadableComponent pattern
  5. Using LoadableComponent  in the tests
  6. Own implementation of LoadableComponent
  7. Advantages and Disadvantages
  8. Q & A

Learning Outcome

Many, perhaps most, software applications today are written as web-based applications to be run in an Internet browser. The effectiveness of testing these applications varies widely among companies and organizations. There are many advantages to test automation. Most are related to the repeatability of the tests and the speed at which the tests can be executed. In this talk we will discuss how to handle Selenium Page Object pattern better with Loadable Component. 

Target Audience

Automation QA Engineers, Developers

schedule Submitted 1 year ago

Comments Subscribe to Comments

comment Comment on this Proposal
  • Naresh Jain
    By Naresh Jain  ~  1 year ago
    reply Reply

    Thanks for the proposal Sargis. You've proposed this as a talk. I believe a demo would be really useful. Would you consider turning this into a demo (with some background & context of course)?

    • Sargis Sargsyan
      By Sargis Sargsyan  ~  1 year ago
      reply Reply

      Thanks for the response Naresh.

      Actually I design this as a talk. It includes Page Object pattern in Java and better implementation with Loadable component. There are also examples and real working implementation with Page Object pattern and Loadable Component included which will be presented also real time. I plan to share also my experience in handling huge selenium tests suite which is designed in page object pattern and created in Java. 

      However if you think that this fits to the conference as a Demo, let me know I can make it as a Demo, but in the Demo I will demonstrate the only implementation of Page object pattern with loadable component.

      Regards,

      ~Sargis   

  • Anand Bagmar
    By Anand Bagmar  ~  1 year ago
    reply Reply

    seems interesting. can you also touch upon other alternative ways of also addressing this problem (page or a component of the page is loaded successfully)?

    • Sargis Sargsyan
      By Sargis Sargsyan  ~  1 year ago
      reply Reply

      Yes, you can also check that specific page with specific components are loaded successfully.


  • Liked Robin Gupta
    keyboard_arrow_down

    The Interviewer, Interviewee and vice-versa

    Robin Gupta
    Robin Gupta
    schedule 1 year ago
    Sold Out!
    20 mins
    Talk
    Beginner

    This small talk is about the intricate fabric of discussion between an interviewer and an interviewee for the post of Automation Engineer.

    The audience would be taken through a maze of silly, run of the mill, subjective, bizarre and occasionally brilliant questions/answers/discussions found in an average interview for Automation Engineer/Selenium Engineer. 

    We'll try to look at the 4 quadrants of the Selenium Interview circle, covering it from the perspectives of :

    1. The Interviewer
    2. The Interviewee
    3. Current Industry state
    4. How can we improve?

    This might seem like a soft, non-technical, not-so-important topic of discussion but we must remember that bad interviews lead to bad candidates lead to bad deliverables. As they say, For want of a nail the battle was lost. 

    And in today's cut-throat world none of us can afford losing a good candidate to a bad interview.

    Lets gather around a fire of questions, on the beach of answers to surgically comprehend the What, How and Why of Selenium Interviews.

     

    The Candidate

     

  • Nikitha Iyer
    Nikitha Iyer
    Anand Bagmar
    Anand Bagmar
    schedule 1 year ago
    Sold Out!
    45 mins
    Case Study
    Intermediate

    There is a saying ..."Sukh baatne se badhta hai, dukh baatne se kam hota hai", translated as - "happiness increases & sadness reduces on sharing with others".

    We want to take this opportunity to share with our experiences - the good and the bad, in the journey of building a Test Automation framework for an AngularJS based application. 

    We will learn, by a case study, what thought process we applied on the given context (product, team, skills, capabilities, long term vision) to come up with an appropriate Test Automation Strategy. This Test Automation strategy covered all aspects of Test Automation - Unit, Integration, UI - i.e. End-2-End tests (E2E).

    Next, we will share how we went about narrowing-down, and eventually selecting a specific Tech Stack + Tools (Javascript / Jasmine / Protractor / Selenium-WebDriver) to accomplish the Test Automation for the product.

    Lastly, we will share the challenges that came up in the implementation of the Test Automation, and how we overcame them. This will also include how we managed to get the tests running in Jenkins - a Continuous Integration tool. 

    This discussion is applicable to all team members who are working on Test Automation!

    P.S. We will be attempting to make a sample protractor-based automation framework available on github for anyone to use as a starting point for setting up protractor-based Test Automation framework.

  • Liked Ori Bendet
    keyboard_arrow_down

    Tales from the Dark Side: The Growth, Implementation and Influence of Selenium inside Hewlett Packard Enterprise

    Ori Bendet
    Ori Bendet
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    I know what you’re thinking: the creators of WinRunner, QTP/UFT are now embracing Selenium?

    Ten years after Selenium came into existence as an open source alternative to Mercury Interactive, the perception and relationship between QTP and Selenium has morphed from competition to collaboration with complementary test automation frameworks.

    Join Ori Bendet, HPE Inbound Product Manager for Functional Testing to discuss how HPE’s R&D uses Selenium and other open source tools. Understand the new roles and responsibilities of dev/test @HPE and how they fit into current team structure. Discover their lessons learned about how Selenium and open source has contributed to the success and maturity of HPE's own quality assurance and testing tools across the entire portfolio.

  • Anand Bagmar
    Anand Bagmar
    schedule 1 year ago
    Sold Out!
    45 mins
    Demonstration
    Intermediate

    Building a Test Automation Framework is easy - there are so many resources / guides / blogs / etc. available to help you get started and help solve the issues you get along the journey.

    Teams already building 1000s of tests of various types - UI, web service-based, integration, unit, etc. is a proof of that.

    However, building a "good" Test Automation Framework is not very easy. There are a lot of principles and practices you need to use, in the right context, with a good set of skills required to make the Test Automation Framework maintainable, scalable and reusable.

    In this talk, we will focus on one of the critical aspects and patterns in building the Test Automation framework - Test Data!

    We will look at different data patterns as options and techniques how to create, manage, use, reuse Test Data in a way to keep the tests running in an reliable and deterministic way. We will also discuss what questions to ask, what things to think about in selecting your approach for Test Data!

    This discussion will be applicable for any type of Test Automation (web / mobile / desktop), but, we will focus primarily on UI automation frameworks, ex. using Selenium.

     

  • Ankita Gupta
    Ankita Gupta
    Jatin Makhija
    Jatin Makhija
    schedule 1 year ago
    Sold Out!
    45 mins
    Demonstration
    Intermediate

    Push Notifications are the latest way of sending updates to our users. More and more Organisations are implementing Web Push Notifications along with emails and other notification systems.

    So the Big Question that arises is "How do we automate them?"

    We have come up with a library in various languages which can be integrated with your Automation suite and provide you everything you need about the notification triggered.

    You can easily then trigger and verify the push notification sent and ship out the product without worries :)

  • Liked Vinay Babu
    keyboard_arrow_down

    Web Scrapping with Selenium and Data Analysis using IPython Notebook

    Vinay Babu
    Vinay Babu
    schedule 1 year ago
    Sold Out!
    20 mins
    Talk
    Intermediate

    Data Analysis is one of the upcoming field and as many of the data scientists says that the most of time they spend for analysis is on Data cleaning, So, In this short session we will see how one can pull the data from the web using Selenium Webdriver and will use this data further for the Data Analysis, The entire exercise will be executed on a IPython Notebook, which is a tool used to execute & save your code and perform data analysis using python data analysis libraries, it also provides a platform to massage the data and visualize it in the form of graphs and tables.

    This entire exercise would be helpful for anyone who wants to understand how data can be pulled with the help of Selenium Webdriver from a website and organized using python libraries for the data analysis. During this session we would be using an open source data for analysis and see how we can draw conclusions using this data.

  • Liked Michal Vanek
    keyboard_arrow_down

    Breaking down the barriers: Testing desktop apps with Selenium

    Michal Vanek
    Michal Vanek
    Filip Braun
    Filip Braun
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    Selenium was born for web-application testing. But have you ever thought it could be a great tool for testing Windows desktop apps too?

    Today, more and more desktop apps use a web-like approach to implement their UI. The methods vary from basic HTMLayout environment to complex designs in CEF (Chromium Embedded Framework). However traditional GUI automation tools seem to be a step behind or ignoring the trend completely. This situation calls for finding new ways of testing.

    In our talk we shall introduce to you a new way of utilizing Selenium for automated testing of desktop applications. No matter whether the HTML UI content is completely offline or loaded and updated dynamically, Selenium is able to access and navigate it just like in a web page. We’ll also show you how to build a small framework around it and plug it into your Continuous Integration process. All of this will be demonstrated using a real-life instance of Avast Antivirus for Windows.

     

  • Adam Carmi
    Adam Carmi
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Beginner

    Automated visual testing is a major emerging trend in the dev / test community. In this talk you will learn what visual testing is and why it should be automated. We will take a deep dive into some of the technological challenges involved with visual test automation and show how modern tools address them. We will review available Selenium-based open-source and commercial visual testing tools, demo cutting edge technologies that enable running cross browser and cross device visual tests at large scale, and show how visual test automation fits in the development / deployment lifecycle.

    If you don’t know what visual testing is, if you think that Sikuli is a visual test automation tool, if you are already automating your visual tests and want to learn more on what else is out there, if you are on your way to implement Continuous Deployment or just interested in seeing how cool image processing algorithms can be, this talk is for you!

  • Liked Dharmesh Vaya
    keyboard_arrow_down

    Hands-on guide to Object Identification

    Dharmesh Vaya
    Dharmesh Vaya
    schedule 1 year ago
    Sold Out!
    45 mins
    Tutorial
    Beginner

    Often it is observed that new-comers jumping to Selenium have mastered the API but are stuck up with Object Identification. It becomes very essential that test automation engineers identify robust mechanisms to identify objects and make their scripts less fragile. This talk/tutorial deals with writing optimized Object locators and having best practices in identifying them.

  • Justin Ison
    Justin Ison
    schedule 1 year ago
    Sold Out!
    480 mins
    Workshop
    Beginner
    This workshop will feature getting started with automating Android with Appium. We'll learn how to capture elements in Ruby using irb (interactive Ruby), writing a test with rspec. Once we have our tests established, we'll then go into setting up a mobile device grid. Running the tests in parallel, distributed, and capturing critical report data (logs, screenshots, and video). We will also run some examples against a cloud testing service.

     

  • Dan Cuellar
    Dan Cuellar
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Advanced

    Over the last few years, Appium has become the choice automation tool for mobile application UI testing. Most people are familiar with the basics of Appium, but did you know that you Appium can identify elements using image recognition? Did you know you it's also possible to automate Windows phone and Desktop apps with Appium? Have you ever seen Appium run the same test on multiple operating systems, or seen an Appium test run using several devices at once?

    The talk will cover advanced Appium topics such as these along with best practices to ensure you get the most out of Appium.

  • Luke Inman-Semerau
    Luke Inman-Semerau
    schedule 1 year ago
    Sold Out!
    480 mins
    Workshop
    Advanced

    Selenium Grid can be a bit daunting to get up and running. Starting it is quite easy, but using it effectively requires pulling in third party tools. In this workshop we’ll cover how you would realistically run your grid, using modern tooling to run a grid with docker containers or in a cloud service like AWS or theoretically your own VM provisioning environment.

     

  • Liked Sarvesh Shrivastava
    keyboard_arrow_down

    Functional and Security Testing - An amalgamated automation approach

    Sarvesh Shrivastava
    Sarvesh Shrivastava
    schedule 1 year ago
    Sold Out!
    45 mins
    Demonstration
    Intermediate

    With increasing cyber threats & online attacks, an unavoidable situation for continuous security testing has emerged. Making sure all vulnerabilities are unleashed regularly is highly significant.

    The paper hence proposes a solution where automated security testing could be achieved in conjunction with functional testing carried out using selenium API.

    It introduces a framework that caters to automated security testing along with functional which could provide an integrated testing elucidation.

    The paper, takes in these two premises to offer a solution where functional automation testers can now take on security testing. I propose a framework where automated security testing could be achieved in conjunction with functional testing using existing selenium API scripts.

    The framework covers the top vulnerabilities and provides intuitive results that help a non-security tester interpret and act on the output. At the very core of this framework is the open source tool, OWASP ZAP, which is easy to use and integrates well with Selenium automation frameworks.

    I bring in hands on project experience having implemented this framework for clients, who have been able to get the value of functional and security testing using the same set of scripts – it is this experience I would like to share with the SeleniumConf2016 audience, to help groom functional testers into security testing, with minimal cost and time, also enabling security testing to be performed every time functional automation is taken up.

  • Liked Parashuram
    keyboard_arrow_down

    Reusing Selenium tests for catching Performance Regressions

    Parashuram
    Parashuram
    schedule 1 year ago
    Sold Out!
    90 mins
    Demonstration
    Beginner

    Almost all the tests we write today are geared towards verifying the functional correctness of products. Selenium gives us a great way to ensure that our web applications and browser behave correctly and our tests usually do an excellent job running through the happy path.

    Most successful websites or hybrid mobile applications are not just functionally correct, but also have a very smooth performance and user experience. Performance, for many, is now a feature. In this talk, we will look at ways to re-use our selenium test cases to also catch any performance regressions. We will measure key performance indicators like frame rates and memory usage as the selenium scripts navigate and perform actions on the website. We will look at logging all these metrics into a dashboard, and integrating this with a continuous integration system like Jenkis or Team City. Finally, we will also look at how such a system can catch any code change that is responsible for making the website slower than a threshold we set.

     

    We will look at how we could use existing testing frameworks like Protractor or Jest to add performance metrics. We will extend our test matrix to cover desktop browsers, browsers on popular mobile platforms and even hybrid apps like Apache Cordova, Ionic or Phonegap.

     

     

    If Performance is a feature, let us test it like we test features !!

     

  • Sargis Sargsyan
    Sargis Sargsyan
    schedule 1 year ago
    Sold Out!
    90 mins
    Talk
    Intermediate

    Creating automated tests for a web application can be challenging. During this talk we will discuss how to use the popular browser automation framework, Selenium, to create automated tests for web applications. We will examine using Selenium and Java to automate the web browser using Selenium WebDriver.  Also we will talk about the implementation of a simple, maintainable framework for testing a web application using Selenium.

  • Liked Deepshikha Singh
    keyboard_arrow_down

    Appium: Mobile App Automation Made Awesome.

    Deepshikha Singh
    Deepshikha Singh
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Intermediate

     

    This session will help beginners who are interested in mobile testing and help them kick start right away, we will start from ground 0 and then move on to providing better understanding of the tool and writing scripts using the tool. This session is for participants who perceive mobile testing to be difficult and that it requires good coding skill. I will demonstrate by automating (running) all types of application supported by Appium. Appium is an open source project and has made design and tool decisions to encourage a vibrant contributing community.

     

     

     

  • Dharmesh Vaya
    Dharmesh Vaya
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Beginner

    This talk showcases how you can develop a framework in Java with all kinds of features like WebTesting with Selenium, Service Layer testing with SoapUI and Load Testing with JMeter - all packaged as a single testing solution. Above all, make use of open source libraries and get details HTML reports as well as Summary reports. This solution allows you to seamlessly integrate all your testing requirements under a single framework.

     

  • Liked Rajdeep
    keyboard_arrow_down

    Enrich Your Automation With Visual Assertions

    Rajdeep
    Rajdeep
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    This talk is about a ruby gem I wrote for adding visual assertion with selenium as driver.

    While we continuously implement new functionalities in our app, automated functional tests acts as safety net and gives us confidence. Still, there is something missing. Many times we get feedback like:
    "Sign-In button has shifted and user have to scroll down to see it"
    "We wanted to change background color of screen-X, it got changed for Screen-Y screen as well"
    "Why has fonts of this link become so tiny?”
    I am working on customer facing enterprise level Mobile apps of one of the biggest airline in the world. For us user experience is as important as functionality.
    Our regression suit did not have capability to catch such issues. Moreover, we started building another airline app from the same codebase with only change in user interface of this new app. This means, change done for one app, affects another. Hence, it became really critical to enhance our automation with visual assertions.
    To accomplish this, I worte my own gem called 'nakal'.http://rubygems.org/gems/nakal

    This is going to be a Talk + Demonstration

  • Liked Srinivasan Sekar
    keyboard_arrow_down

    Automation testing on iOS real devices Parallely using Appium

    Srinivasan Sekar
    Srinivasan Sekar
    Sai Krishna
    Sai Krishna
    schedule 1 year ago
    Sold Out!
    20 mins
    Talk
    Beginner

    Automate Native/Hybrid applications and execute the tests on several iOS real devices parallely without registering appium nodes to selenium grid.

  • Liked Anup Menon
    keyboard_arrow_down

    Total Continuous Integration

    Anup Menon
    Anup Menon
    schedule 1 year ago
    Sold Out!
    45 mins
    Talk
    Intermediate

    Total Continuous Integration is a series of functional and nonfunctional tests that runs periodically with the help of continuous integration tool.

     Writing a script and automating the test cases are really time saving, But it will be more effective if its Headless and runs periodically. Also at the end of every automation scripts we need Reports. This can be easily achieved with the help of continuous integration tool- Jenkins. Jenkins is one open source tool to perform continuous integration and build automation. The basic functionality of Jenkins is to execute a predefined list of steps. The trigger for this execution can be time or event based. 

    In this session we will discuss how to run your selenium scripts, Jmeter scripts or your JS scripts periodically and generate reports on each build. We will also explore how to run a selenium script headlessly with the help of Xvfb.