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 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...
I am trying to check for the presence of a modal. If the modal is not present then it will place the value of the timer into browser.sleep(). This will give time for the modal to appear. I am having an issue with a for loop in a page object.  When I...
Im writing some Protractor testcases by using a pageobject. However im having trouble using elements directly from the Pageobject file, in the spec file.  Possibly im missing some JS nuance, since i havent written that much in JS.  i would like to us...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.