How to get dynamic selector for the values inside brackets[]?

Hi All,

I am having the following selector, for the typeinto activity, which is inside the foreach loop
<sap id='usr/sub:SAPMM07I:0731/txtISEG-ERFMG[0,55]' />
There is a value inside bracket - [0,55]
So how shall i increment the value dynamically – Only for row - i.e you can see - zero (0) in [0,55]
So it should get auto incremented…
The selector should work dynamically…

i can also see in my selector some of the selectors are in gray color - i dont no why… :frowning:

Also i did the following change to the selector…
“<sap id=‘usr/sub:SAPMM07I:0731/txtISEG-ERFMG[’”+iRowIndex+“‘,55]’ />”
But it dint work…

Please help me…

Thanks in Advance

Sonika

1 Like

Did you try iRowIndex.ToString?

1 Like

Resolved
I have changed the selector to

"<sap id='usr/sub:SAPMM07I:0731/txtISEG-ERFMG["+iRowIndex.ToString+",55]' />"
1 Like

“”

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