Dynamically generated Selectors

studio
i_duplicate

#1

I didn’t find this in the forum:

The selectors are currently a XML strings, but they cannot be dynamically generated. The ability to use wildcards is not enough for me. I think it would be very useful to be able to create selectors using variables eg:
Auto generated Selector:
“(webctrl aaname=‘Insert 1 file’ idx=‘1’ parentid=‘app’ tag=‘SPAN’ /)”

With wildcard:
“(webctrl aaname=‘Insert * file’ idx=‘1’ parentid=‘app’ tag=‘SPAN’ /)”

I would like:
“(webctrl aaname=‘Insert “+fileCount.ToString+” file’ idx=‘1’ parentid=‘app’ tag=‘SPAN’ /)”

Please note quotes and replace brackets with more than and less than as required.

P.


#2

7 posts were merged into an existing topic: Interpolated selectors like in C#


#3