How to automate the ”angular JS” page with selenium ?
Question ID: 108219
0
0

Hi there, Is there a way to automate the execution on Angular JS page with only Selenium ? If it is possible, can someone point me to a code example that I can take a look ? Thanks.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on April 6, 2018 6:58 am
138 views
Answers (3)
0
Private answer

AjngularJS applications can be automated by similar way as any other web application developed using HTML/JSP. The way objects identified is a bit different in AngularJS. AngularJS is developed mostly using DIV and the objects to be identified should be by DIV. Hope this helps. Also Java Script code to be executed from Selenium and you will get lot of help if you google.

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on April 18, 2018 2:26 pm
0
Private answer

Hello Chun,

Yes, you can automate the execution on Angular JS page with selenium by using **''Protractor''**.
For more details check the below links.

https://www.protractortest.org/#/infrastructure

https://www.protractortest.org/#/

Hope this helps.

Marked as spam
Posted by (Questions: 0, Answers: 27)
Answered on April 6, 2018 1:27 pm
0
Private answer

Thanks Raja,
Is there any ''selenium'' way to handle this, not necessary by using protractor ?
The web application I am dealing with has mixed ''Angular JS'' page and ''Non Angular JS'' pages. I really want to have the test cases designed with one module.

Marked as spam
Posted by (Questions: 1, Answers: 1)
Answered on April 6, 2018 8:04 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top