Posts

Showing posts with the label protractor

Selecting from AngularJS dropdown in Protractor.

Selecting from AngularJS dropdown in Protractor. I have searched to forums over and over again - tried to make sense of some of what people have said, but the solutions never seem to fit my case. My problem concerns selecting an item from a drop down list that has been coded in AngularJS on a website. I am running automated tests using Protractor and a Selenium server. Right now I am running different scripts I have coded on various websites that have been coded in AngularJS. Its fascinating to see something I code fill out a form automatically - so cool! Unfortunately whenever I come across a drop down in my test I try and come up with a solution for hours and never have been able to figure it out. So I have come to stack!! This is the code I am working with it's actually jetblue's sign up website so if you want to take a look go here: https://trueblue.jetblue.com/web/trueblue/register/ The trouble starts on page two with the dropdowns - don't know how to fill out a single...