I am new in the world of testing.
I would like to test e2e my front-end part (Back : Spring Boot, Front : Angular 11).
I have a lot of questions :
- Is Selenium & Protractor are the same ?
- How to set up Selenium on my Angular App ?
I read a lot of article and for angular app many developers are using Protractor or Cypress.
In my project, I must use Selenium, I don't know what to do :(
I would like a clear explanation about testing Angular App (not AngularJs) using Selenium.
Advance Thanks,
CodePudding user response:
Your question is not correct, it should be focused on 1 specific question, not 3.
Anyway, I will try answering here.
So,
- No, Selenium and Protractor are not the same, these are different automation tools. There are a lot articles about selenium vs protractor
- Selenium [can be used](selenium for angularjs application) for testing Angular applications. There are a lot of questions and articles about this as well.
- You can easily find how to setup selenium for angularjs application.
What tool is preferable for testing Angular js application Selenium or Protractor?
It would be opinion based question.
There are people who would prefer utilizing Selenium while others would prefer Protractor.
CodePudding user response:
Finally I find a good tutorial on what I want to using Selenium : https://www.youtube.com/watch?v=BQ-9e13kJ58&list=PLZMWkkQEwOPl0udc9Dap2NbEAkwkdOTV3
