protractor icon indicating copy to clipboard operation
protractor copied to clipboard

protractor unable to select a dropdown option

Open dotjose-zz opened this issue 11 years ago • 3 comments

Hi there, I have been working on protractor and I have got such unbeatable situation. Protractor can not select a drop down option. It only takes the default value and proceed to the next test specs. I have write my tests like this.

 element(by.id('general-title-two')).$('[value="pastor"]').click();

I'm using firefox browser and I see the element is clicked but after the click option I didn't see the drop down value is changed. Is there anybody who can help?

dotjose-zz avatar Nov 02 '15 12:11 dotjose-zz

I believe this is a duplicate of #480. You should be able to use one of the workarounds in that thread in the time being. Chrome should work just fine.

NickTomlin avatar Nov 02 '15 13:11 NickTomlin

Hello, I am selecting value from ui-select (drop-down) in protractor but once It is clicking on next button, that drop-down is loosing it's value, So anyone can tell me where I am going wrong?

Monica-Samaiya avatar May 26 '17 06:05 Monica-Samaiya

Hi @Monica-Samaiya

First of all be aware that you asking a question on an already closed issue. The change that it will be answered is very small.

Secondly, your question is better suited for StackOverflow or Gitter. Please ask a question there with the 'protractor' tag or post in the Gitter Channel to get help.

From the the getting help section of the README:

Please ask usage and debugging questions on StackOverflow (use the "protractor" tag) or in the Angular discussion group. (Please do not ask support questions here on Github.)

Thanks!

wswebcreation avatar May 26 '17 07:05 wswebcreation