01-09-2009, 11:16 AM
Hi ,
U try in two ways :
1st way :
Give trim functions for value retrieved from datatable as given below.(This will eliminates any trailing or leading blank spaces & return the string alone)
2nd Way:
Just perform Recording for the selection of "Massachusetts" value from Weblist.
script will be generated as :
Just Copy the Massachusetts Value & paste into the datatable sheet & Save the script.
Now try to re-execute. I hope it will be able to select the required value from datatable.
U try in two ways :
1st way :
Give trim functions for value retrieved from datatable as given below.(This will eliminates any trailing or leading blank spaces & return the string alone)
Code:
Browser("abc").Page("xyz").Weblist("state").Select trim(Datatable("Global","State"))
2nd Way:
Just perform Recording for the selection of "Massachusetts" value from Weblist.
script will be generated as :
Code:
Browser("abc").Page("xyz").Weblist("state").Select "Massachusetts"
Just Copy the Massachusetts Value & paste into the datatable sheet & Save the script.
Now try to re-execute. I hope it will be able to select the required value from datatable.