select dropdown value by read data from excel


#1

I wants to choose select value from dropdown list and data will be read through excel file. I have write piece of code. still its not work. Please anybody can help.
here are my code:

WebUI.selectOptionByValue(findTestObject(‘Object Repository/Add Listing/Page_Workilo Create Listing/select_Please SelectAssemblyCr’),

findTestData('Read data for Add listing').getValue("Category", row), true)

#2

Hi Nazneen,

Does it have any error message? If so, can you provide?


#3

Arnel said:

Hi Nazneen,

Does it have any error message? If so, can you provide?

Hi Anrel
Its working fine now and I appreciate for your reply but you are quite late :slight_smile: I hope next time you will respond quickly
Thanks :slight_smile:


#4

Hi Nazneen,

what you make changes in your code? now i am facing same issue.


#5

Hi,

I have used the below code for Select dropdown

WebUI.selectOptionByValue(findTestObject(‘your chosen object’),
findTestData(‘Read data for Name of your excel sheet’).getValue(“Name of the dropdown”, row), true)
Hope this will help you.
Thanks,