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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
69 views

How to Use Cypress with AngularJS application

Our legacy Application is developed with AngularJS(app folder in the picture) but now started with nx (Angular) for the new feature development (which is in web-apps within the app). My question is NX ...
Maryum Khan's user avatar
0 votes
2 answers
185 views

Angular readiness problem in app-alerts component(Selenium)

I'm doing automated tests(Selenium Java) in a web application that is based on Angular 14.2.12. I check if Angular is loaded using the following code(I paste the whole thing together with jQuery and ...
Serwa's user avatar
  • 1
-3 votes
1 answer
611 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 ...
tiglatpilesar's user avatar
2 votes
1 answer
331 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, ...
WhiteFlower's user avatar
1 vote
1 answer
170 views

Accessibility testing at the unit level

I know there's plenty of tools out there to look at a fully available web page for accessibility issues, but what about for doing earlier unit testing? The application I'm testing involves Angular and ...
Moorpheus's user avatar
  • 265
0 votes
4 answers
355 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 ...
VSD's user avatar
  • 97
1 vote
1 answer
389 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('...
Saloni Singhal's user avatar
1 vote
1 answer
2k 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 ...
Saloni Singhal's user avatar
0 votes
0 answers
198 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 ...
Gabriel's user avatar
  • 121
2 votes
1 answer
143 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 / ...
Jacob Ensor's user avatar
1 vote
1 answer
110 views

E2E Test application flow on multiple devices

Our applications flow start on desktop. At later phase there are some scenarios where the processes require an approval on a touch device. The user waits at a page on desktop. If the user opens the ...
Justbrave's user avatar
0 votes
1 answer
4k 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', ...
Ingridd Brito's user avatar
3 votes
1 answer
2k views

How to interact with ngx-monaco-editor

I have a web page that has the ngx-monaco-editor implemented in angular. But i am not able send any data to the editor using sendKeys() . I tried replacing textContent of the div element but it just ...
John's user avatar
  • 33
1 vote
2 answers
3k views

How to tell protractor to wait for each command for 3 seconds

I am running angular e2e scripts. I am adding explicit wait for every element. Instead, is it possible to tell protractor to delay 3 seconds for every command?
STE's user avatar
  • 749
0 votes
1 answer
692 views

Protractor- switch from non- angular to angular

Login page is non- angular. So I set browser.ignoreSynchronization = true; Then after passing the login screen, I have set browser.ignoreSynchronization = false. Also, I have used browser.refresh(). ...
STE's user avatar
  • 749
0 votes
2 answers
160 views

Is there a better way of carrying out basic text and form validation instead of doing it at E2E?

My understanding of E2E tests is that we should be carrying out tests that run through the whole system to check if everything works together via Selenium (for a web application). However, I've seen ...
user3054735's user avatar
0 votes
2 answers
117 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 ...
akcasoy's user avatar
  • 109
1 vote
1 answer
272 views

Writing different tests for different environments

We didn't implement automated deployment yet to our Angular 7 project, so environment-based variables (e.g baseUrl) are changed manually, causing the application to crash after deployment a lot due to ...
Mazen Elkashef's user avatar
1 vote
1 answer
4k views

How do I store a value in a global variable and then use it in subsequent steps of a scenario in protractor cucumber typescript based project

I want to retrieve a value in 'Given' function and then store it in a global variable so that the value is accessible in subsequent steps of a scenario in protractor cucumber typescript based ...
JayeshB's user avatar
  • 11
0 votes
1 answer
834 views

Verify and Assert functions does not work as expected in Selenium IDE?

I'm using Selenium IDE to record steps. Web system has developed using Angular.js I tried to use verify text and assert text functions through IDE. For target elements, xpath is given. Same xpath is ...
Syrus's user avatar
  • 1,197
0 votes
1 answer
669 views

How to deal with ui-sref in Selenium

The Context: I'm using selenium in java to click on a link to navigate to the other page of the application. The Problem: The application is made in angular-js wherein I tried to click on the Link,...
Prasad_Joshi's user avatar
0 votes
1 answer
538 views

Appium + Protractor : element not intractable

I am using Appium and Protractor for e2e testing of my Ionic 4 application. The application Starts from the login page. Currently, I have implemented my spec.ts file as below import {browser, by, ...
Ranika Nisal's user avatar
2 votes
1 answer
6k views

Can Selenium handle Angular 7 applications?

Our application is using Angular7. Now we can thinking to automate out application with Selenium Can Selenium handle our application?
Jaga Reddy's user avatar
0 votes
1 answer
141 views

Get value from element of type <a>

So this is the HTML <ul class="has-status sub-menu"> <!-- ngRepeat: subItem in item.subMenuItems track by subItem.name --> <li ng-repeat="subItem in item.subMenuItems track by ...
Triinu86's user avatar
2 votes
1 answer
2k views

How to find radio button value and ID with xpath

<rhr-radio-button element-id="tenderValidType" model="$ctrl.additionalData.procProcedure.tenderValidType" value="UNTIL_DATE" label="additionalData.tenderValidUntil" required="::$ctrl.requiredFields[...
Triinu86's user avatar
2 votes
3 answers
5k views

Protractor - Element not found

I'm new to protractor and trying write a script. But every time I try to locate an element "The Element not found" error is coming. These are the error messages I'm getting: Failed: No ...
Darshani Kaushalya's user avatar
0 votes
1 answer
60 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 ...
Tester's user avatar
  • 1
2 votes
1 answer
448 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 which ...
alecxe's user avatar
  • 11.4k
-1 votes
2 answers
153 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"));
ganga reddy's user avatar
1 vote
0 answers
173 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 ...
matandked's user avatar
  • 153
2 votes
1 answer
632 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'm 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 ...
Akshay's user avatar
  • 21
2 votes
3 answers
7k 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/...
Steven Rutherford's user avatar
0 votes
2 answers
1k 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-...
Nastya's user avatar
  • 1
0 votes
1 answer
90 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 ...
Satish Rao's user avatar
1 vote
1 answer
4k 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 ...
kylokyler's user avatar
  • 447
-2 votes
2 answers
65 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)...
Syrus's user avatar
  • 1,197
1 vote
2 answers
1k 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 ...
kylokyler's user avatar
  • 447
2 votes
1 answer
737 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/...
maitray bhatt's user avatar
0 votes
1 answer
686 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 ...
Rob Sharma's user avatar
2 votes
0 answers
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. ...
k.vincent's user avatar
  • 395
0 votes
1 answer
54 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 ...
Nagarani Dubbaka's user avatar
3 votes
1 answer
1k views

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

In the same page how to switch from non-angular to angular, it is clicking on non-angular elements but not on angular, when clicking on non-angular lookup then angular window(Popup) will open
Vinod Kumar's user avatar
0 votes
1 answer
3k 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.
Chandra's user avatar
  • 11
4 votes
3 answers
4k 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 { ...
k.vincent's user avatar
  • 395
4 votes
2 answers
4k 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 ...
k.vincent's user avatar
  • 395
1 vote
0 answers
2k 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(...
Greg P's user avatar
  • 209
1 vote
0 answers
62 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?
SUPARNA SOMAN's user avatar
4 votes
2 answers
7k 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 ...
k.vincent's user avatar
  • 395
2 votes
1 answer
1k 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. ...
S.Huston's user avatar
  • 167
4 votes
1 answer
2k 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 ...
Noble-Surfer's user avatar