Questions tagged [protractor]
An end-to-end test framework for AngularJS applications. Protractor runs tests against applications running in a real browser, interacting with it as a user would.
232
questions
1
vote
1
answer
147
views
Test users password- static or dynamic
During our e2e testing, 100+ test users are created on our application. Workflow goes like this:
1. Generating a random password with faker library
2. Storing it in a variable
3. Using the variable to ...
1
vote
1
answer
109
views
Screenshot not found error in protractor
I am getting broken image for screenshot. Unable to take screenshot in protractor framework. Please anyone help on this.
My code:
testconfig.js file
var fs = require('fs-extra');
var today = new Date()...
1
vote
0
answers
125
views
Protractor file upload hanging after send keys on IE11. Works on Chrome/Firefox
I have a Protractor/Cucumber script, that successfully uploads a file on Chrome/Firefox. When I run the same script on IE11, then the website hangs with the file dialog box open and no file sent.
The ...
-1
votes
1
answer
139
views
How to determine test coverage on a Protractor/Jasmine project
I'm new to a project that is in active development but is a mature application.
It has a lot of Protractor/Jasmine tests, but they are organized somewhat poorly. For example, multiple identical or ...
-3
votes
1
answer
631
views
Replacement for Protractor in test automation project?
I'm working in a project where I run a lot of end to end tests prepared using Protractor framework - testing dashboard written in Angular JS and Ionic 4 web application. However I started to spot a ...
2
votes
1
answer
339
views
Test all checkbox combinations using Protractor
In my Angular page there are 15 checkboxes and a label that when I select on each checkbox individually, a result will appear in the label. Plus when a checkbox click with a combination with others, ...
1
vote
2
answers
934
views
How to download files in folder other then the download folder using Protractor?
Using the following configuration, files are always saved in the download folder instead of the folder set for default_directory.
'capabilities': {
'browserName': 'chrome',
'chromeOptions': {
...
0
votes
4
answers
357
views
Recommendations on adoption of protractor over selenium for angular app
We currently have automation framework using selenium Webdriver C# bindings .The application under test is being re-written in angular.The QA team is familiar with C# and selenium , so we are ...
1
vote
2
answers
2k
views
Script timeout in Protractor
My current scenario is: the user types the username, password, and click on the login button. Then, the next screen shows a list box with Stores to login. Protractor loads this list box but it does ...
1
vote
1
answer
951
views
What is the meaning of test runner? What is the meaning of test runner in layman terms? [closed]
What is the meaning of test runner? Protractor is a test runner. What is the meaning of test runner in layman terms?
1
vote
1
answer
422
views
Hooks not getting executed in protractor cucumber
I new to protractor, and trying to implement hooks. But the hooks are not getting executed.
Following is my code:
Hook.js:
const {
Before
} = require('cucumber');
const {AfterAll} = require('...
1
vote
1
answer
3k
views
Getting undefined when I define {string} parameter in the when section in the step definition in protractor cucumber
I am new to protractor with cucumber. I have to automate a flow wherein on entering first name, last name, and postcode, a new user is created. I am trying to add the data to be entered in the feature ...
2
votes
1
answer
46
views
Is there a way to write protractor tests to test on devices plugged into my pc not via browserstack
we are trying to save some money and have devices here already to test on, is there a way i can setup my tests to run on them ?
Thank you in advance
0
votes
1
answer
425
views
Click in Protractor is too fast
After clicking on a button, a dialog for confirming should be displayed at the bottom of the page. But Protractor clicks too fast on this button, that the next page is loaded without displays the ...
3
votes
1
answer
794
views
How draw a straight line in canvas using protractor
Context:
I want to test a signature canvas field
So i want to draw a signature and then validate that signature is displayed on the canvas.
Right now i cannot even draw a proper line , so wanted to ...