Hi @Rup_1 ,
Please do check the selectors.
Sorry , I could write like yours.
The error message was below.
[2]
The last line says [At the Option Strict on , you can not do the implicit type conversion from ‘String’ to ‘Double’]
And the type of number in Int32.
best regtads,
Taichi
I have faced this issue once. A small modification in the dynamic idx of selector will solve this issue.
For first line, the idx will be “1”,
for second, the idx will be “2”.
If idx is passed through a variable and incremented inside loop, it will work fine.
E.g.
“<ctrl idx='” + CounterValue + “’ role=‘row’ />”
Down below is the selector whose ctrl idx value needs to be incremented till it exists. You can use a variable in place of 55 below which needs to be incremented till the selector exists
<wnd app='acrord32.exe' cls='AcrobatSDIWindow' title='Acrobat Document.pdf - Adobe Reader' />
<wnd cls='AVL_AVView' title='AVPageView' />
<ctrl idx='55' role='row' />
"<wnd app='acrord32.exe' cls='AcrobatSDIWindow' title='Acrobat Document.pdf - Adobe Reader' />
<wnd cls='AVL_AVView' title='AVPageView' />
…
Thanks,
Saranya K R