Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [angular]

AngularJS is an open-source JavaScript framework. Its goal is to augment browser-based applications with Model–View–* (MVW, MVVM, MVC) capability and reduce the amount of JavaScript needed to make web applications functional. These types of apps are also frequently known as Single-Page Applications.

0
votes
1answer
35 views

Before entering entire text completely, Selenium is saving data

There is a form having only two field name and Code. Code validation criteria is minimum 2 and max six character. As soon as you enter 2 character save button become enable. Now, problem is when ...
2
votes
1answer
72 views

Migrating from AngularJS to ReactJS or what to do with existing e2e tests

The Story We have a mission critical AngularJS application which we extensively test with e2e tests using Protractor/WebdriverJS. At the current state, we have ~30000 lines of existing e2e tests ...
0
votes
1answer
37 views

I am unable to identify element of edit text in table

I am unable to identify element. please find my below code. WebElement editorFrame = dr.findElement(By.id("1536219451331-0-uiGrid-000L-cell"));
1
vote
0answers
26 views

(Visual) testing of the geographic/GIS maps functionality using Protractor

I'm preparing an automated system/end2end tests for the AngularJS application using Protractor. One part of the application, that I'm going to test, displays geographical maps. I need to verify for ...
0
votes
1answer
133 views

unable to run test cases in IE browser in protractor, selenium framework for angular.js web application

I was trying to execute test cases in IE, and I am facing errors as shown in error picture, my config file is shown below. using IE 11.09 with selenium webdriver-4.0.0 in windows server 2012 R2 ...
2
votes
2answers
389 views

Scrolling to Bottom of the Text Area using Protractor

I have a text field that I need to scroll to the bottom of in order for the Next button to be activated to click. This project is using Angular 6 my tests are end to end test running on the protractor/...
0
votes
2answers
189 views

Protractor or Selenide for automation testing Angular6?

We began automation testing of our new project, which is implemented on Angular6. We decided to split the testing of the front-end, back-end and user-scenarios. To automate the testing of the back-...
0
votes
1answer
19 views

Is it possible to use Microsoft UIA to automate sites designed in Angular?

I am trying to automate UI for a site designed in Angular and when I inspect the browser (Chrome) with UISpy.exe, I find that certain controls do not exist in the tree at all, even though I can see ...
0
votes
0answers
9 views

how to add codes to keep save format of a web app in desktop and different mobile devices in angular?

should add codes in html, css or ts file to make sure all layouts look fine with chrome browser on desktop, ipad, iphone and google phone etc? right now the problem is that a logo pic looks fine on ...
0
votes
1answer
777 views

Unable to run automated tests on the Vue version of the site

We are re-writing our Angular1 platform in Vue. I am trying to run a simple test but the test is failing because Protractor is trying to sync with the page but cannot because it is not in Angular. Any ...
-3
votes
2answers
42 views

How to test a system developed using Angular, java and API's? [closed]

If a system is developed using Angular for front-end and java for back-end. Front and back ends are interacting using API's. My questions are: (Please answer using relevant number before the answer) 1)...
1
vote
2answers
307 views

What to change in protractor configuration if moving to vue.js?

My company is going to slowly transition from angular.js to vue.js. I have protractor tests set up and running successfully. Aside from the page objects specific to angular, is there anything that ...
2
votes
1answer
266 views

Jmeter Scripting for body data having “Info”

Out site is using lots of angular Js. now when I record script for login it has some 5-6 requests recorded. out of those 3 requests are having endcoded key in body data as below. {"Info":"V8P+Pq/...
0
votes
1answer
204 views

Unable to run protractor test in browserstack on ios device

I am trying to run protractor test(ios-11, iPhoneX)in browserstack. I am getting "Error: Error while running testForAngular: Unable to communicate to node" error and some time I am getting the error ...
0
votes
0answers
758 views

How to import and use Angular Environment variables in `protractor.config`?

I would like to save some credentials in the angular environment.prod file and pass them to protractor.config.js Is it possible to import and use env variables from the Angular app environments files....
0
votes
1answer
45 views

How different it is to manually test a web application which is developed using MEAN stack?

Are there any specific details to be taken care of, when manually testing a Web Application developed using Angular JS,Node.js? As these two frameworks are javascript based,what are the features to ...
2
votes
1answer
508 views

Protractor- in same page how to switch from non angular to angular, its clicking on non angular elements but not on angular?

In same page how to switch from non angular to angular, it is clicking on non angular elements but not on angular, when click on non angular lookup then angular window(Popup) will open
0
votes
1answer
2k views

Angular 4 automation using Selenium

I am trying to automate Angular 4 using Selenium, Just wanted to check if there are any good frameworks available? This info will give me a good start.
3
votes
3answers
801 views

E2E test - Why does selenium shut down automatically after running the test?

I'am running an E2E test for an angular app. I did edit the protractor.conf.js in order to use SeleniumStandalone. It looks good, and I can run the test using: ng e2e. protractor.conf.js: const { ...
2
votes
2answers
939 views

Selenium for angular - How to install and run Selenium for Angular E2E testing?

The question seems to be asked in some other Postings here, but I'am relative new to testing with selenium. I would like to use it for testing an angular app - E2E. I have been reading few postings ...
1
vote
0answers
789 views

Selenium and AngularJS 2 select (dropdown), Cannot get selected value in c# [closed]

I am looking to find out how to get the value for a dropdown from an angularjs dropdown (for country). I found the special handling needed for basic text fields: Driver.Instance.FindElement(By.XPath(...
1
vote
0answers
35 views

Mobile performance testing for Android [closed]

What tools can be used to test a mobile app in Android that was built using Angular 2? Is there any tool for testing performance like load, speed etc. for mobile apps?
1
vote
2answers
2k views

How to setup a Headless-Browser Unit-Test for Angular application?`

I do have an angular Application where I also run a test ng test --sm=false. It works fine and I get the result in Chrome Browser. The issue is to be able to run a headless test because the App will ...
1
vote
1answer
383 views

Is there a way to setup WebStorm to execute Javascript/Protractor code in place using Evaluate Expression tool?

I'm coming from a Java+Selenium environment, so maybe this is a mismatch of understanding that I'm having with Javascript/Angular/Protractor. I used to use IntelliJ's IDEA IDE for automation testing. ...
2
votes
1answer
814 views

Testing AngularJS with Protractor- how to use services from within my tests?

I have recently started developing an automated test suite for one of my company's products, which has been written in AngularJS, using Protractor as the testing framework (although I have used ...
3
votes
2answers
621 views

Using Protractor to test AngularJS frontend- how do I get HTML DOM objects that are nested within other objects?

I am working on the development of an AngularJS app, and have recently been asked to look at integrating some automated testing into our development process. I have not used automated testing at all ...
1
vote
1answer
251 views

Integrating Protractor testing framework into my existing AngularJS app- invalid URL when testing on VM

I recently started working on an application that has been written in AngularJS, and have been tasked with setting up automated testing for the app (all of the testing that has been done as part of ...
2
votes
1answer
559 views

AngularJS- setting up Protractor to test front-end user interaction

I am working on an AngularJS app, and am looking to add some automated testing to the development life cycle of the project. After doing a bit of research, and asking on here about what frameworks ...
3
votes
1answer
357 views

Should I use Jasmine/FrisbyJS or Mocha/Chai for testing of live API with Angular?

What I'm looking for in an answer Concrete relevant(newer?) examples of why one choice is better than the other OR, a concrete suggestion of why using a different language is the better choice over ...
3
votes
0answers
308 views

Karma/ Jasmine testing framework - tests don't appear to be executed

I am looking to implement the Karma/ Jasmine test suite/ framework for use with my AngularJS app. Having never used a testing framework previously, I have followed the tutorial at: https://scotch.io/...
6
votes
3answers
3k views

Cypress vs Protractor for end-to-end testing

I've recently stumbled upon a modern end-to-end testing framework called Cypress which is going to be released in public beta this year. It really looks awesome at the first glance - there are ...
7
votes
1answer
202 views

Exception thrown: Keeping the Selenium server alive

I am doing protractor test, and I am using ExpectedConditions as below. var EC = protractor.ExpectedConditions; var el = element(by.css('[class="loader-class ng-scope"]')); browser.wait(EC.not(EC....
1
vote
1answer
117 views

I want to run report(.html file) of protractor-html-reportor

I am doing end-2-end testing with protractor. And for creating a report of all these test cases, I am using protractor-html-reporter, which creates an .html file as report of all these test cases. ...
-1
votes
1answer
373 views

I'm unable to install protractor [closed]

Error in cmd C:\Users\user>npm install -g protractor npm ERR! Windows_NT 6.1.7601 npm ERR! argv "E:\\Software\\nodejs\\node.exe" "E:\\Software\\nodejs\\node_modul es\\npm\\bin\\npm-cli.js" "...
4
votes
1answer
195 views

What to use for user acceptance testing for a single page application?

The app uses a javascript framework to update the single page. Ajax is used for data updates How I can automate user acceptance testing for it? Usually I use selenium through through the capybara ...
5
votes
1answer
43 views

How to unit test the plethora of js frameworks?

There's a bunch of popular javascript frameworks such as Angular React Vue Ember Meteor What tools exist for unit (white box) testing each of them? Does each framework support its own unit testing ...
3
votes
5answers
125 views

How does knowing the technology behind the system under test help in testing?

How important is it for manual testers to know what technologies/frameworks were used to build an application under test? To be specific: imagine there is a web application written in AngularJS v2 ...
2
votes
3answers
268 views

AngularJS - Testing User Permissions/ User Access Levels

In our web-application(built on Bootstrap and Angular), certain tabs in the navbar are displayed only to particular users. Certain input boxes/ buttons are enabled only to certain users. I want to ...
1
vote
0answers
820 views

How to access an Input file in the shadow DOM using selenium chrome driver?

Has anyone figured out how to access an Input file in the shadow DOM using selenium chrome driver? at a certain point at the angular.js page a button is clicked and in the function triggered by the ...
2
votes
2answers
2k views

Protractor tests run in parallel influence each other

I currently have Protractor set up to run multiple Chrome instances so that I can run my tests in parallel. However, I've noticed that the tests in one browser instance are influencing tests in ...
0
votes
5answers
3k views

How can selenium webdriver locate elements successfully in an angular.js app

I identified the applications element (locators), but when I run using webdriver, I receive the following error: org.openqa.selenium.WebDriverException: Element is not clickable at point (784....
1
vote
3answers
1k views

Nesting callbacks with protractor

I'm using test framework protractor to test an angularjs app. I've been doing this for sometime now and one of the question that I've not been able to answer is : Suppose I want to modify a the value ...
1
vote
1answer
935 views

How to distinguish ng-bind's in Protractor?

I was looking for some help on how to distinguish a bunch of ng-binds that are in an ng-repeat. The goal of this situation is to go through the ng-repeat list of documents, and click on the ng-bind ...
4
votes
4answers
727 views

What to ask programmers before automating with Selenium

What points should I discuss with frontend programmers when preparing a product on which, as a tester, I will use Selenium to automate? I am referring to things like, no dynamic ids for elements etc. ...
6
votes
5answers
34k views

Why can't we use Selenium Webdriver to test Angular JS sites?

If we look at the Protractor architecture, Protractor uses WebDriver JS to call Selenium Webdriver which ultimately calls browser driver and then browser. Now since Selenium is passing commands to ...
2
votes
0answers
418 views

Protractor custom bindings don't work after multiple redirects

This test does a login on a non-angular site, then switches to angular app and performs the testing. I found that regular bindings by.css work, but custom ones like by.binding don't. describe('show-...
6
votes
1answer
5k views

E2E testing of Angular app with Python backend: Protractor/JavaScript vs webdriver/Python

We have extensive Python-based application, with many E2e tests (and of course unit tests), all in Python). We started e2e test in FitNesse (Selenium1, with Python fixtures) many years ago. Recently ...