All Questions
166
questions
1
vote
2
answers
1k
views
How to check if a list contains the element passed in javascript
I want to check if the list returned from the application contains the expected element.Please let me know where am going wrong :
this.verifyOptionsInDrpDwn = async function(){
var optionList = ...
1
vote
1
answer
112
views
on protractor --elementExplorer command browser terminates with error
I am trying to use element explorer so that I can interactively fire protractor command.
However after firing below command the browser launches and then terminates suddenly
command:- protractor --...
0
votes
1
answer
146
views
Getting error in protractor POM implementation
I have created 3 different files 1)config.js 2)Homepage.js 3)TestScript.js, I am getting an error while executing config.js
Please help me rectify it.
Test Environment versions are the following:-
...
0
votes
2
answers
239
views
Getting text from angular input elements in Protractor
The angular Input controls doesn't let me get values directly by using getText() in protractor.
<input ng-switch-when="TextBox" ng-if="::!field.uiControlInfo.multiLine" ng-model="field.input[0]....
0
votes
1
answer
335
views
Protractor - Eclipse - Run Configurations - Missing Protractor Options
Hi people: I need your help.
I try to Run Protractor in Eclipse IDE. I already have installed the plugins:
* Angular Eclipse (Outdated)
* Wild Web Developer
* Nodeclipse.github.io
I already setted ...
0
votes
2
answers
204
views
Protractor does not recognize function
When running my test I receive the error:
browser.setlocation is not a function.
The protractor website lists browser.setLocation() as a function, why does it not recognize my use of it?
I have ...
-1
votes
1
answer
126
views
.Error Async callback was not invoked within timeout specified by jasmine.DEFAULT_TIMEOUT_INTERVAL
conf.js
exports.config = {
directConnect: true,
framework: 'jasmine',
//seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['FirstTestcase.js'],
asmineNodeOpts: {
...
3
votes
2
answers
819
views
"Failed: Error while waiting for Protractor to sync with the page" while executing Protractor tests
I try to execute some Protractor tests on a web application that consists of both Angular and non-angular components.
My code looks like so:
describe("Test Name", function() {
it("Test case", ...
1
vote
1
answer
494
views
jasmine async callback was not invoked within timeout specified
I am new to Protractor and javascript. I know there are a lot of questions and solutions regarding this error. But none of the solutions gave me a clear understanding of async callback and this error ...
0
votes
1
answer
286
views
Could not find Angular protractor /cli.js file on mac was told check how I Installed Protractor
I have a massive headache trying to find protractor/built/cli.js file in protractor. I would really appreciate a second opinion.
To locate the cli.js file, I did the following syntax.
/usr/local/...
1
vote
1
answer
580
views
E/configParser - Error message: configuration file cli.js did not export a config object
I am new to protractor, and I successfully setup the protractor in eclipse.I followed this https://www.protractortest.org/#/ link, where conf.js contains:
exports.config = {
seleniumAddress: 'http:...
5
votes
2
answers
4k
views
Protractor async/await UnhandledPromiseRejectionWarning: Unhandled promise rejection
So I'm migrating my protractor tests using the async/await(Link).
Migration is somewhat successful so far until I keep running into this issue.
So following are steps of my test followed by code as ...
-2
votes
2
answers
3k
views
Selenium Standalone has exited with code 1
I found some answers on same query
need update webdriver server with cmd webdriver-manager update ,
Even-though i am getting same error when i start webdriver server with cmd webdriver-manager start....
0
votes
1
answer
268
views
If I update angularjs, do I need to rewrite protractor tests?
I have a local webapp written in AngularJS v1.5.8 and thinking about starting testing with protractor. If I update Angular in the future, is there a chance I'll have to rewrite protractor tests ...
0
votes
2
answers
3k
views
How to retrieve rows from the table using Protractor?
I am using protractor for my UI test. I am trying to retrieve and validate the rows from the table.
Below is my code. The issue I have here is , It returns each row in the table when I do console.log ...