11,319
questions
0
votes
0
answers
94
views
"InvalidArgumentError missing field 'capabilities'" after mozilla geckodriver updated to 0.35v
Last week Mozilla's geckodriver released the new 0.35.0 version, and since then the tests I'm running using Jenkins aren't running.
In the console output I've noticed the error that I put on the title:...
1
vote
1
answer
279
views
[Protractor]: session not created: This version of ChromeDriver only supports Chrome version 114 Current browser version is 121.0.6167.139
I'm trying to run end-to-end testing using Protractor having chrome version 121.0.6167.139, for this I have done following steps:
webdriver-manager update --versions.chrome=114.0.5735.198
webdriver-...
0
votes
0
answers
42
views
How to run auto-tests via specific webdriver that I will put in repo instead of webdriver that generated automatically by protractor?
I'm using protractor test framework with node.js
with those configuration in protractor_config.js file
capabilities: {
shardTestFiles: yargs.instances > 1,
maxInstances: yargs....
0
votes
0
answers
17
views
Running protractor e2e with custom build and serve configuration
I have
Angular : 8
Protractor: 5.4
Added configurations for build in angular.json
project:build:e2e
and Serve configuration
project:serve:e2e
For E2E testing using below command we would like to ...
0
votes
0
answers
19
views
Angular E2E Protractor testing : error to join API from testing session
For an Angular application, I'm creating E2E Tests from Protractor and Jasmine.
All feel good except the externals API calls. For example, if I try to test and simulate login, the form will correctly ...
1
vote
0
answers
207
views
Protractor: Webdriver-manager update downloads an incompatible version of chromedriver
Chrome Browser version in my machine 116.0.5845.111 (Official Build) (64-bit).
But Webdriver manager downloads chromedriver_114.0.5735.90.
Error:
E/launcher - session not created: This version of ...
5
votes
0
answers
2k
views
webdriver manager update only to chrome driver version 114
I am still using protractor for automated testing. I got the latest chrome driver version 116 and chrome browser version 116.
I tried running npx @puppeteer/browsers install chrome@stable to get the ...
3
votes
1
answer
887
views
My chrome version got updated automatically to 115 version and when i run webdriver-manager update command why its downloading 114 version of chrome?
My chrome version got updated automatically to 115 version and when i run webdriver-manager update command why its downloading 114 version of chrome? Even i tried to download 115 version directly and ...
0
votes
1
answer
217
views
Access AngularJS's scope in Playwright (migration from protractor)?
i'm facing a small (i hope) issue, for personal purpose i need to migrate from protractor to playwright, i add a lot of steps working well without any issues, but now i'm stuck, the migrate protactor'...
1
vote
0
answers
22
views
Is there a way to get the jasmine report without actual execute cases?
I'm using jasmine framwork and want to get a jasmine report without actually execute cases. It should be something similiar as the 'dry run' in mocha framework.
And in the report, i want to get the ...
2
votes
0
answers
213
views
Can't run protractor tests with selenium hub 4
I am trying to run my protractor tests using a selenium hub. I follow the official selenium hub instructions to run it using docker. Basically the commands are as follows:
After that, I change the &...
1
vote
2
answers
864
views
How to capture scenario result in cypress-cucumber-preprocessor?
I am Migrating Protractor Cucumber framework to Cypress using cypress-cucumber-preprocessor
I need to capture Scenario run result -pass or fail value also the scenario name
Earlier with cucumber,the ...
-1
votes
1
answer
36
views
how to re-use same IT blocks in multiple spec files
in protractor, i have 20 tests (IT block) in a spec file.
and we have few different spec files only the difference between each spec file is before block.
Spec A
Spec B
Spec C
so, 20 tests from Spec A ...
1
vote
1
answer
241
views
Getting page content via XMLHTTPRequest
I am using Protractor for my testing. I have 100 links on a page, rather than clicking on each link and checking the page content I am trying to get the page content via XMLHTTPRequest. I am passing ...
0
votes
1
answer
287
views
How to get the value of Element that is Disabled and not present in DOM
I am using Protractor for Automation. I am trying to verify value of element present in the model window. the element is disabled (greyed out) and not present on the DOM.
How to get the value of this ...
1
vote
1
answer
98
views
Testing Angular - How can I test disabled field using Selenium Protractor?
In MEAN stack project I am using Selenium webdriver for frontend UI testing.
I have a field which is non editable. I have attached an image
Image
How can I test this field making sure it cannot be ...
1
vote
0
answers
34
views
Chrome is not launching when i execute protractor code in jenkins while doing automation testing
When I try to run protractor code in jenkins , chrome browser is not launching but the code is executing in jenkins and it is printing failure.Can i know how to launch the chrome browser so that my ...
0
votes
2
answers
289
views
How to config chromdrive to download in protractor?
I got error of chromedriver version is only support google chrom version 100.
My current google chrome is 109
Current browser version is 109.0.5414.119 with binary path /usr/bin/google-chrome
[13:12:...
0
votes
1
answer
58
views
Delay after downloading a file in Protractor test
My test downloads a file and then clicks a button. The click on the button takes effect (opening a sidebar) 40 secs after. If I disable the downloading code in the app (making the bottom download bar ...
1
vote
1
answer
27
views
Protractor : Even though the toggle is ON/OFF, my code always returning false value
I am using protractor to automate web UI. I need to verify If the toggle is ON, it should return True and it should come out from the loop, If it False it should enable the toggle.
Below is the image ...
1
vote
2
answers
1k
views
Playwright equivalent to Protractor's browser.wait to loop while condition is not met
I'm trying to find a way to loop in Playwright while certain condition is not met. In Protractor I could use browser.wait. In the following example which I'm migration from Protractor to Playwright, ...
0
votes
1
answer
195
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 ...
0
votes
1
answer
47
views
Using protractor to set dropdown box on kendo dropdownlist
I have the following HTML:
It is a kendo dropdown box with three options.
<select class="login" id="CompanyId" name="CompanyDisplayList" data-role="dropdownlist&...
1
vote
1
answer
346
views
Automatically disable browser cache in chrome while running tests using protractor
I am trying to run tests using protractor but i need to disable the browser cache in order to test some things. I do not want chrome to load the resources from browser cache instead i want it it to ...
0
votes
1
answer
26
views
how to trigger mouse wheel click with protractor
I'm testing an Angular 14 app with protractor 7 e2e tests.
I want to emulate a middle mouse (wheel) click on an element.
How do I do this ?
Thanks.
(A different solution using Webdriver, pure ...
0
votes
2
answers
610
views
QA Testing automation tools to learn: Selenium, Protractor, Cypress [closed]
I have some programming experience and want to switch to QA roles that suit my skills better, I have more knowledge of Java but some Python.
I am wondering if I should focus on Selenium that I have ...
0
votes
1
answer
78
views
Why protractor deprecated in jhipster?
I am curious to understand why jhipster 7.8.1 deprecated the protractor. Is there roadmap to include any other end-to-end testing framework?
1
vote
0
answers
334
views
Cucumber report does not get updated after Parallel execution of feature files in Protractor+Typescript framework
enter image description hereBelow is my config.ts file. I have done below configuration to suffice parallel execution of feature files.
However after execution the cucumber report fails to get updated ...
0
votes
1
answer
38
views
Trying to getCurrentUrl() and open it in new tab in protractor
I have to get the url and open it in 3 new tabs. But I get errors while trying:
browser.getCurrentUrl().then(url => {
browser.actions().keyDown(protractor.Key.CONTROL).sendKeys('t').perform(...
1
vote
0
answers
26
views
Protractor in vscode - how to display the element content in the debug?
I am running protractor/typescript in vscode.
I open "JavascriptDebugTerminal and run with "npm start".
The deubug seems ok but all element variables seems similar in the debug window.
...
1
vote
1
answer
96
views
Mocha test isn't running properly in loops
I have a JSON with every key containing an array of strings, I added two loops
One to get all keys
Second to get array against keys
I'm using my second loop to test each value in array. But what is ...
3
votes
2
answers
710
views
Is there any way in cypress to wait for multiple expected conditions
So I am trying to migrate our existing protractor test suite to cypress. For one of the tests, we have scenario where we can have two expected conditions which easier to handle in protractor. But I ...
0
votes
1
answer
745
views
TypeError: Cannot read properties of undefined (reading 'statusCode')
After some tests in protractor - typescript - cucumber framework, I use this function:
Before({ tags: "@Cleanup" }, async function () {
const JSESSION = await browser.manage().getCookie('...
0
votes
1
answer
109
views
How to get element with its style attribute in protractor?
i am new to use protractor. There is an html element which its only unique part is url of background image in style attribute. You can see below.
<div _ngcontent-jaf-c293="" class="...
2
votes
3
answers
1k
views
Programmatically check if lazy-loading works
In Angular, it is quite easy to break lazy-loading. For example, all it takes is for someone to carelessly import something from a lazy-loaded module into the app module and this module is eagerly ...
0
votes
0
answers
159
views
Unable to give input in phone number textbox in SafariIOS Simulator
I have scenario where I need to enter phone number in text box field, using SafariIOS simulator but am getting invalid phone number error even through number is not inputting. Can someone please help ...
1
vote
2
answers
737
views
"Undefined. Implement with the following snippet" protactor cucumber
Currently learning protractor, I am doing this parameter scenario where I want to the change the type of operation done in every run
my steps
const { Given, Then } = require('cucumber');
const { ...
0
votes
1
answer
81
views
Protractor unit tests Angular does not work with MediaRecorder
I have an Angular 11 project and I have unit tests implemented. Recently, I added a MediaRecorder in the project, and none of the tests run anymore. The tests "compilation" throws the ...
-1
votes
1
answer
38
views
Protractor doesn't start tried all the solutions given on internet
Below are my env details:
OS : win 10 64 bit
npm version - 5.3.0
node version - v8.3.0
webdriver-manager version -
chromedriver: 103.0.5060.53, 104.0.5112.29 (latest)
geckodriver: 0.31.0 (latest)
...
0
votes
1
answer
64
views
Primeng Edit Table running with protractor getting element not found error
Following is my html code for primeng editable table,
<tr>
<td *ngFor="let fields of header; let i=index;" pEditableColumn>
<p-cellEditor>
<ng-...
0
votes
1
answer
88
views
Always getting a "Failed: sendKeysToActiveElement" error while working on any of the keyboard actions of the actions class in protractor
I am always getting a "Failed: sendKeysToActiveElement" error while working on any of the keyboard actions of the actions class in protractor.
Below is my code -
it(' Tests to handle ...
0
votes
1
answer
117
views
Unable to click on a Button which is inside a Form(Its says element with locator is not visible)
I wanted to select a button in a Frame ..
But some how its not selecting .. Tried below code to switch to frame and click on element in Protractor with TypeScript ..
await browser.switchTo().frame(...
0
votes
2
answers
67
views
Protractor get the second element of an ocurrence
I have an issue and I'm quite new with protractor.
I need to get an element by its text, right now it is not possible to change how the UI is built to use better selectors.
So what I have right now is ...
-1
votes
1
answer
248
views
perform mouse hover on a svg pie chart element not working
Using protractor I am trying to perform mouse hover on a svg pie chart element and the mouse hover is not working at all. No error is also displayed for me. I am trying to read a text that displayed ...
0
votes
1
answer
313
views
Protractor-cucumber-framework: how to run only one test?
FYI, none of the other Stackoverflow questions/answers have resolved this for me.
In an Angular project, we're using Protractor Cucumber Framework for our E2E tests.
I can't figure out how to run only ...
0
votes
2
answers
2k
views
can we run Cypress tests in Safari browser and Mobile testing with integration of Saucelabs?
my testscripts need to executed in mobile devices and safari browser . with the cypress and sauce labs integration can we achieve mobile testing and safari browser using cypress ?.
currently my test ...
0
votes
0
answers
118
views
Protractor debug error - no such file or directory, acces "d:\project_root\node_modules\protractor\bin\package.json
I am trying to debug the protractor tests with jasmine framework in VS Code and getting error:
Exception has occurred: Error
Error: ENOENT: no such file or directory, access 'd:\project_root\...
0
votes
1
answer
122
views
Angular E2E tests - Protractor-Cucumber-Framework creating hundreds of strange cache files
In an Angular project, we're using the Protractor-Cucumber-Framework for our E2E tests. After running all my E2E tests, not only does it update a results.json and results.xml file (this seems normal ...
0
votes
0
answers
294
views
Angular Selenium E2E tests: ENOENT: no such file or directory, open 'results.64820.json'
For Angular e2e tests, Protractor (more specifically, selenium webdriver) is proving to be a nightmare to maintain on any operating system. Only one developer on our team has working e2e tests locally....
0
votes
0
answers
36
views
One digit decimal lost (after period) with json stringify
I have a prepared data as json, with key:value pairs, like
"FieldDefinition": {
"ReadOnly": true,
"MaxLength": 100,
...