UiPath has been an amazing tool compared to its peers due to its simplicity and power.
I have an issue with the Recorders in UiPath Studio.
Iam trying to automate MS Word doc operations. After opening an MS word document, i try to apply bold style to some text. I use “Basic” Recording for this.
After selecting Bold push button and specifying Italic button as its Anchor image, the bold style applies successfully on my machine.
However, when I run the same project on a different machine, the Italic Anchor image is not detected. On capturing a new image for Italic on this machine, it succeeds. The same issue happens for Bold button.
What’s the cause for this issue?. Are recorded images not reliable across systems? Do selectors have a problem here?
The selector for the Italic Anchor image is:
"<wnd app=‘winword.exe’ cls=‘OpusApp’ title=‘test1 - Word’ />
<wnd cls=‘NetUIHWND’ idx=‘1’ />
<ctrl name=‘Ribbon’ role=‘property page’ />
<ctrl name=‘Lower Ribbon’ role=‘pane’ />
<ctrl name=‘Home’ role=‘property page’ />
<ctrl name=‘Font’ role=‘tool bar’ />
<ctrl name=‘Italic’ role=‘push button’ />"
I understand that selectors represent the window hierarchy of a control.
BTW, We use the same MS Word 2016 on both the machines.