UiPath Coding Framework now on github - Contributors needed!

In the “How to use” part of the readme I explain this, look below:

For example you’d want to get the text of an element, you’d do it like this:

var getValue = new Job_GetValue().Run
            (
            WaitForReady.COMPLETE,
            "<wnd app='notepad.exe' cls='Notepad' title='*Library.txt - Notepad' /><wnd aaname='Horizontal' cls='Edit' /><ctrl name='Text Editor' role='editable text'/>"
            );

The getValue variable will contain a dictionary with a key and a value, the key is the ValueArgument and the value is the text, you can return those values and do whatever you want with it.

1 Like