I have to select values from dropdown iteratively and im using the following code.
I can get the full name of the dropdown item but storing the value in a varaible and using it doesnot work
Can any1 please tell where i went wrong.??
for i=0 to 1
Aliases.RCWinTrans9.wndRCWinTransX8Class.MDIClient.Acti_9_Smart_Test.Item.splitbuttonLanguages.dropdownbuttonOpen.Click
'To get the full name of dropdown item iteratively
name=NameMapping.Sys.RCWinTrans9.Item.GetUnderlyingObject.Child(i).FullName
'log full name of the child in the dropdown
'This is working absolutely fine
log.Message(name)
Aliases.RCWinTrans9.wndRCWinTransX8Class.MDIClient.Acti_9_Smart_Test.Item.splitbuttonLanguages.dropdownbuttonOpen.Click
/I am trying to click on the name ,but this throws runtime error
name.click