Hi,
I recently just encounter a problem where upon inserting a variable into the selector, I keep getting “element unknown” error. As seen from the bottom the original and the edited selector outputs are similar however, the edited selector is not able to work. Please help
Original selector: (able to work)
wnd app=‘iexplore.exe’ cls=‘Internet Explorer_Server’ /
uia name='Goods ’ role=‘list item’ /
Edited selector:
“wnd app=‘iexplore.exe’ cls=‘Internet Explorer_Server’ /
uia name=’ “+lineType.ToString()+” ’ role=‘list item’ /”
Editted selector output: (unable to work)
wnd app=‘iexplore.exe’ cls=‘Internet Explorer_Server’ /
uia name=’ Goods ’ role=‘list item’ /
*Disclaimer ive deleted away the <>