Dynamic dropdown list selection

Hi,

I’m facing an issue with dynamic web element selection. I have a table of data in a web page. I need to compare the data in webpage with the input data from other file. And if it matches, change the dropdown list value from ‘open’ to ‘approved’ on each matched row of data. How can I make it possible? Can anyone help me on this?Timesheet

Thanks in advance!

Regards,
Renju

Hi @renjutom

Are you able to do Select item Activity

Thanks
Ashwin S

Hi @AshwinS2,

Thanks for your quick reply!

I’ve tried Type Into activity. It is changing only first row of dropdown list.

Regards,
Renju

Hi @renjutom
Use Click Activity and again click activity

Thanks
Ashwin S

Hi @AshwinS2,

Can you please provide an example? How can I select only particular row which have matching data?

Regards,
Renju

Hi @renjutom

Is the website available can you share it

Thanks
Ashwin S

Hi @AshwinS2 ,

Sorry. Its a private web application.

Capture

Timesheet

I have to change the status of matched row of drop down list from ‘Open’ to ‘Aprroved’.

Regards,
Renju

@renjutom

Is Select Item activity is working with drop down menu ?

Please check it once.

Hi @lakshman,

Yes. Select Item activity is working with drop down menu. How can I make it dynamic? Because we have seperate dropdown list in each row. I have to change the list item from ‘Open’ to ‘Approved’ on each matched row of data.

Regards,
Renju

1 Like

Hi,

Is there any way to resolve this issue?

Regards,
Renju

create dynamic selectors before you attempt to do that

Hi @MythicGold ,

Thanks for your suggestion. Whether I can add a counter variable in a selector? Like my selector looks like below:
webctrl id=‘ContentPlaceHolder1_rptrExample_ddlApprovedStatus1_0’ tag=‘SELECT’

Whether I can add a counter variable in place on ‘ddlApprovedStatus1_0’ to increment the value 0 on each run?

Regards,
Renju

Hi,

How can I make a dynamic selector in this situation? Can anyone suggest me please?

Regards,
Renju

Hi Renju,

you can make the selector as dynamic like below:

webctrl id=‘ContentPlaceHolder1_rptrExample_ddlApprovedStatus1_‘“+Counter.tostring+”’’ tag=‘SELECT’

1 Like

Hi @mudunura,

Thanks. It is working for me.

Regards,
Renju

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