How to select an element from dropdown


#1

I want to select an element using select item which is present in the drop down . But the ui element is not selecting and it produce an error " this control does not support select item
can anyone suggest an answer


#2

@MdEbrahim you can use click activity with specific selector


#3

@MdEbrahim

If you just want one element you can use GetText GetAttribute also

Thanks,
Prankur


#4

Yes i do but it not selected the specific element


#5

I’m not getting the text i want to click on text which is present in dropdown


#6

do that part using recording and see whats the difference or else you can edit the selector of the recorded activities as you want.


#7

Hi @MdEbrahim,

Refer below post

Regards,
Arivu


#8

Hi @MdEbrahim

Check out that you can click the dropdown and then, instead to click which element of the menu do you want, you can type into that value (normally you should able to do this, maybe not because how its done the webpage). If you type the value of the element that you want and send an Enter hotkey it should be the same as make a click.

Also, with almost full probability you should be able to identify the inside elements of the menu with UiExplorer, so if you can indentify them, you are able to click them.

I hope this can help you.

Kind regards,
Pablo


#9

still get an error
I attach the main function please check itdropdown.zip (10.3 KB)


#10

Thanks
But the specific element is not clicking


#11

@MdEbrahim

You did as I said, and its working fine:

image

Don’t try to click the text once you got it, just go ahead to the next field, you already have put “Recruitment” in your wanted field.


#12

Thanks Pablo_sanchez got the solution