Dear all,
I used GetText activity to get text from an old windows application where the selector is as below :
but it returns an empty string.
Is there any other way to solve this ?
Thanks for your feedback
Dear all,
I used GetText activity to get text from an old windows application where the selector is as below :
but it returns an empty string.
Is there any other way to solve this ?
Thanks for your feedback
is UIPath and the application one you are trying to automate both are in same machine or in different machine ?
Hi @albel,
is there any way to get rid of the IDX attribute in the selector?
Check with the UiExplorer if there are more attributes you can use to make the selector better.
Actually, they are in the same machine.
There is no other attribute that the one in the selector. I tried via UiExplorer but seems the same.
I tried also âGet Attributeâ activity but it returned an error :
Get Attribute âTWINDOW1â: Attribute not supported by the current UiNode.
Are you trying to get text from any elenment � Or its a free text ( element here my meaning is button , text box etc)
Hi @vinay_reddy
My app is windows app based on a french IDE NatStart which is C++ based code generation. My window (a dummy one for test purpose) looks like this :
Each of the fields has a selector with idx number (1, 2, âŚ) as stated in the first sending. What ever is the field when I trying gettext it returns empty string.
Seems UiPath cannot recognize all windows applications.
Can you try with screen scraping to extract the values and if that doesnât work give a try with computer vision activities
Hi @anil5
I tried Screen Scraping and it works. Thanks. In summary Iâm going to use âGet Visible textâ activity. In the other hand, for check boxes and radio buttons the method itâs not working. So I wonder how can I solve this.
But still want to understand why selector for windows app didnât work .
kr,
If I see the selector there is no unique element or attribute that is representing the fields from where u want to extract and you can never depend on idx because idx changes often, this happens with some applications in that scenario we have to use the other best methods suitable for our process
the check box always you will select the first one only or it differs
So u can try this, when you launch the application where is the cursor and use a single type into and provide multiple tabs to reach check box and radio button and press enter.
@anil5
I didnât catch up. My intention is just want to know if the ckeckbox is checked or not (kind of true false output). I donât want to enter any thing on it.
Is get attribute activity not working for these 2, give a try
Hi @anil5,
I tried Get Attribute and doesnât work either. It always returns false no matter it is checked or not
This is really annoying. any other idea ?
I tried to do so but I cannot only select the checkbox alone. it comes with the text.
So did you use the aastate attribute and any luck with that, if not while indicating the screen use f3 which allows you select the region of check box and give a try.
Hi @anil5
I managed to pick up only the checkbox :
whether is checked or not, âaastateâ return âfocusableâ