How to select value from dropdown

dropdown
mouse-actions

#1

Hi,

I am trying to select a value from dropdown using Mouse click event.
But the value to select is going to be dynamic .
Is there any way to select a particular value from dropdown which is going to be different each time.

Thanks.


How to select an option from drop down
#2

Have you tried something like this: https://kb.workfusion.com/display/TR/Automation+Mouse+Hover


#3

@Nilesh_Singh,

Please provide more detailed information with screenshots and page source code

Best Regards,
Ainur Tokenova


#4

Hi,

I want to select drop down value same as stored in variable.
ie.

cntry

If COUNTRY variable contains LA…It should select LA from drop down.
Is there any way to implement such scenario using mouse click?

Thanks


#5

@Nilesh_Singh,

see a similar case here - How to select dropdown list from list item

you can also use keyboard to select values in your case


#6

Hi,
thanks for your reply.
Is there any other way available to do this without using xpath ?

Thanks.


#7

Image based click or selection using keyboard (Tab, tab, …Enter)