vds1
(Vishal)
1
I am trying to get text from element which looks like a table (or list) and i see a pattern as below
<wnd ctrlname='alertList' />
<ctrl name='Data Panel' role='client' />
<ctrl name='Bucket row 0' role='cell' />
<wnd ctrlname='alertList' />
<ctrl name='Data Panel' role='client' />
<ctrl name='Bucket row 1' role='cell' />
<wnd ctrlname='alertList' />
<ctrl name='Data Panel' role='client' />
<ctrl name='Bucket row 2' role='cell' />
The pattern here is Bucket Row 0 >> Bucket Row 1 >> Bucket Row 2
How do i pass a counter to the selector in order to save the element on a variable which will be tested for particular text existence?
Hey @vds1
This link will guide you on this:
How to use a variable in: <webctrl aaname=VARIABLE /> - #2 by aksh1yadav[quote=“vds1, post:1, topic:5890”]
How do i pass a counter to the selector in order to save the element on a variable which will be tested for particular text existence?
[/quote]
<wnd ctrlname='alertList' />
<ctrl name='Data Panel' role='client' />
<ctrl name='Bucket row " + counter_variable+ "' role='cell' />
Regards…!!
AKsh
1 Like
vds1
(Vishal)
3
Thanks for the quick guidance.