I m new to Protractor. Before I start using it I want to know if Protractor works with Angular 6/7.
Does it work with all angular versions?
Protractor supports Angular and AngularJS 1.0.6/1.1.4 and higher
Ref: https://www.protractortest.org/#/faq
Related
We already have protractor e2e tests for angular 7. Now the app is getting upgraded to angular 8. Does protractor 5.4.2 support angular 8? We are using chrome browser.
Protractor framework can find, interact etc. within sites that were implemented by Angular, Vue, React, js/html...
Protractor has just few Angular specific methods. It is:
waitForAngular(false/true): I suggest to make it false in onPrepare() block inside configuration protractor file. The reason of it that it was implemented for Angular 1. On current versions it works pretty unstable;
angular specific selectors. css or xpath quite enough for searching elements.
I have a (complicated, live, in production) ionic app that is currently on ionic-angular 3.9.2 but has been around since (I think) the v1 days. There are no tests (yikes).
I see that Ionic 4 ships with some e2e testing support which is great, but does me little good since it's not compatible with the version that I'm on.
I'd like to get some e2e tests in place prior to biting the bullet and migrating up to v4 and all the many changes that will entail.
Are there any resources available that can help me add tests to a v3 app in a way that will be compatible with v4 as I go through the update process?
We have very good Automation framework already in place which is in java/selenium to verify our web application but now our site will be migrated to Angular and we do not want to move to protractor. So shall we use selenium for Angular app ?
You can use selenium for Angular app but it is more suitable to use the protractor for Angular app testing, as it is built in framework for the Angular app.
I am working with the code from below link http://ionicmaterial.com/ and wan to work with angular 1.5. I have checked the package.json and they have not specified any angular dependency.So don't know where and how to update to angular 1.5. I have referred the following to How to update the version of Angular in Ionic Framework?. But I dont want my ionic to crack.
We have Web Application which interacts with Windows base desktop applications.Can Protractor be used to automate UI workflows for desktop application as well?
Protractor is nothing but a framework built on top of webdriver js to automate angular js web applications.It uses API's available in selenium jar file to communicate with the browser. Selenium doesn't have support to automate desktop applictions,hence protractor also cannot be used to automate desktop application.
It is possible to use RobotJs code within Protractor to control