I have built various Test Automation frameworks using the Page Object Pattern with Java (https://code.google.com/p/selenium/wiki/PageObjects).  Two of the big benefits I have found are:  1) You can see what methods are available when you have an inst...
The Question:  What is the canonical way to define nested Page Objects in Protractor?  Use Case:  We have a complicated page that consists of multiple parts: a filter panel, a grid, a summary part, a control panel on a side. Putting all the element a...
The Story  We've been using Protractor framework extensively and have established a rather large test codebase. We've also been following the Page Object pattern to organize our tests.  Recently, we've started to use the Galen framework t...
As an e2e tester who has little interaction with the developer, how do I find out what is causing the angularJS website to hang? How do I debug the website and provide them with a tangible solution to my problem? Does Chrome Developer provide an answ...
I am trying to creat to page object files with protractor.  My app has the following layout.  and page object files..  navbar_po.js  var NavBar = function() {     // define navbar elements and operations     //  .     //  .    }; module.exports = Nav...
I'm writing some protractor tests for our application. There is one place where is non-angular page as iframe in angular page.  Problem: I'm unable to map fields from non-angular page in Page Object object and use them in right time in my tes...
I seem to be stuck in the construction of page objects. I read a lot of docs about page objects and know that they contain two things:   elements that are present on a page functions to interact with the page   When I check example files I see that t...
So I'm new to protractor and trying test using page objects to make the code more manageable. Having some problems with this side of it.  Below is my main spec file called 'example_spec.js'  describe('angularjs homepage', function...
I'm working on some end-to-end tests using JavaScript (Protractor). I've got a PageObjects file that contains the following:  var SomeClass = function() {     this.get = function() {         browser.get('http://blah');     };      thi...
I'm writing a test where two browsers need to interact. The problem with simply forking the browser is that my page objects still reference the old browser. I didn't want to rewrite all of my PO's to take the browser as a parameter so I t...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.