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.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
772 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 - to give it a go, ...
3
votes
3answers
522 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 ...
2
votes
0answers
588 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-...
1
vote
1answer
27 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
0answers
107 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 ...
1
vote
0answers
1k 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 ...
1
vote
1answer
33 views

GUI Testing Angular SPA?

Developer here. Our QA team is researching new strategies for E2E testing for a new product. To start, it will be an Angular SPA, and eventually a PWA. They are leaning towards using Quantum / ...
0
votes
0answers
15 views

Testing with select2 dropdown

Hi I am pretty new to select a select2 dropdown using Rselenium. (Normal select dropdown is ok but when it comes to AngularJS framework I have been struggling a lot.) The field I want to click for ...
0
votes
1answer
550 views

Element not interactable in a non Angular site

For my test, I am using protractor. The test first opens an Angular page, do some actions and then open a nonangular site. For the nonangular site I did the following: it('should login on BC', ...
0
votes
2answers
57 views

User Acceptance Tests with mouse/keyboard capture and picture compare

We have several Angular applications (Micro UIs) and they are all 100% covered by our UATs (User Acceptance Tests) written with Protractor (Angular Test Framework based on Selenium). There are ...
0
votes
1answer
535 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 ...
0
votes
1answer
58 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
2k 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....
-1
votes
2answers
78 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"));