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 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...
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...
I am used to WebDriver Java approach for implementing Page Object pattern, which is described here So everything in Java WebDriver Page Object pattern boils down to following:         The public methods represent the services that the page offers...
I'm working with Protractor and I create a page object.  This is my page object:  'use strict';  var CreateAgent = function () { this.agentEmail = element(by.model('agent.email')); this.janrainConsoleAgent = by.xpath(".//*[@va...
So I can't figure this one out.   My test calls for choosing a list item as part of a form to create a new user. However, when I run the test it does not choose an item from the list. And Protractor doesn't return any errors, it thinks the te...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.