cschevuri
(chandrasekhar chevuri)
September 11, 2019, 6:40am
1
Hi, i have customised a selector and it is not working,when debugged, getting the below error message:
the ’ ’ character hexadecimal value 0x20 cannot be included in a name
My selector code is as below:
wnd app=‘winquote.exe’ ctrlname=‘DB5Form’ wnd ctrlname=‘panel20’ wnd ctrlname=‘tabControl1’ wnd ctrlname=‘tabPage1’ wnd ctrlname=‘panel27’ wndctrlname=‘tabControl2’ wnd ctrlname=‘tabFrameDeptOpt’ wnd ctrlname=‘frmoptionlist’ ctrl name=‘DataGridView’ role=‘table’ ctrl name=‘Row “+Counter4.ToString()+”’ role=‘row’ ctrl name=‘# Row “+Counter4.ToString()+”’ role=‘cell’
please suggest further…
AshwinS2
(Ashwin S)
September 11, 2019, 6:46am
2
Hi @cschevuri
Pass the ctl name=‘#Row+Counter4.ToString+"’ pass this only to one ctrl name
Thanks
Ashwin S
cschevuri
(chandrasekhar chevuri)
September 11, 2019, 6:48am
3
sorry i did not understand, can you please elaborate more, thank you.
AshwinS2
(Ashwin S)
September 11, 2019, 6:51am
4
you have pass the ctrl name twice pass the ctrl name only once
Thanks
Ashwin S
cschevuri
(chandrasekhar chevuri)
September 11, 2019, 7:03am
5
Hi Ashwin, removed duplicate, still not working.
cschevuri
(chandrasekhar chevuri)
September 16, 2019, 5:08am
6
Thanks @AshwinS2 ,
After removing one space in the selector, worked well.
"<wnd app='winquote.exe' ctrlname='DB5Form' /><wnd ctrlname='panel20' /><wnd ctrlname='tabControl1' /><wnd ctrlname='tabPage1' /><wnd ctrlname='panel27' /><wnd ctrlname='tabControl2' /><wnd ctrlname='tabIndptOpt' /><wnd ctrlname='panel17' /><wnd ctrlname='indoptionlist' /><ctrl name='DataGridView' role='table' /><ctrl name='Row "+ Counter5.ToString() +"' role='row' /><ctrl name=' # Row "+ Counter5.ToString() +"' role='cell' />"
system
(system)
Closed
September 19, 2019, 5:08am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.