Customised code for selector is not saving

Hello,
I am working for windows based application, one part of the task is to select an item from dropdown box, the input is taken from an excel sheet, so i declared the variable field as " Job Item " , and tried to call the variable in the selector for Click event, when i copy and paste the code to selector, it is not saving.This is my issue.
Please view the code for selector as below and advise.

“wnd aaname=‘Add Job ItemDropDown’ app=‘winapp.exe’ cls=‘WindowsForms10.Window.*’ idx=‘1’ /><ctrl name='”+JobItem.ToString()+“’ role=‘menu item’ /”

@cschevuri

Could you please show me screenshot of your selector once.

original selector: “wnd aaname=‘Add Job ItemDropDown’ app=‘winapp.exe’ / ctrl name=‘drive-M2 / MG2’ role=‘menu item’ />>
Altered selector: wnd aaname=‘Add Job ItemDropDown’ app=‘winapp.exe’ cls=‘WindowsForms10.Window.*’ idx=‘1’ />>ctrl name='”+JobItem.ToString()+"’ role=‘menu item’

After edit the selector and removing the spaces and save, issue is resolved.
Thank you !!

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