how to select the value from drop down manu

Patnaik14

Member
Hi All,

I have state code example KA, AP, TN etc... based on state code i need to select the drop down values in a Web Application
State code is in my excel sheet & we need to read the State Code from excel & accordingly have to select the State name.

Example state code is KA - In drop down it should select the karnataka.

How to do this?
Thank you
 

Sukesh Kumaru

Active Member
Hello,

Maintain those values for State Code and State Name in excel and try to get it to collection.

NB: Make sure to have the Values same as values in Drop-down box present on web application.

The value you want to select is Tamil Nadu and it's code is TN all these values are stored in collection (Fetched from Excel file).
Loop the collection for Tamil Nadu and it stops when the value is found and then try to copy the state code value as well to other data items and after end loop pass these values to attributes of Drop-down box to for selecting (in application modeller).

Good Luck.
 
Top