Can't use array item as variable in Selector Editor

This issue could be identified as FAD, but I found a way to bypass it; I select a string as a variable in Selector Editor, and I then manually edit the variable reference to the array item in the properties panel; e.g.:
From:
String.Format(“”, stringVar)
To:
String.Format(“”, arrayVar[intVar])

It would be great to just allow the user to select array items from the Selector Editor and not have them to manually work around this.

Thanks!

I just noticed the code was not inserted correctly; my bad.
From:
String.Format("<webctrl aria-role='option' tag='DIV' innertext='{0}' />", stringVar)
To:
String.Format("<webctrl aria-role='option' tag='DIV' innertext='{0}' />", arrayVar(intVar))

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