How to get selected item in dropdown

Hello,

My requirement is to get selected value in dropdown from webpage and save in variable.
check below ss.

you can see in dropdown Jira pre/post upgrade checklist is selected that i need to get and write in excel.
how can i get selected value from dropdown?

help me on same.

Hi @Mathkar_kunal

Pls try to use Find Element → Get Attribute selectedItem or innerText → save to variable → write to Excel.
Or use Get Text if value is visible → save to variable → write to eexcel. Or use get full text if dropdown is non-standard → save to variable → write to excel.

Pls try above any method, it’ll helpful.

Happy Automation

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.