Calculator Automation: Message box not displaying result

uiautomation

#1

Im trying to automate calculator application. Simple steps add 4, add 5 and click on “=” then capture value 9.
Im setting the value 9 in a generic value data type, then in message box Im setting same variable, but message box doesnt print this value.


#2

Hi,

Can you try referring to the string representation of your generic value using:
variable.toString

Cheers


#3

Here you go.

calc.xaml (14.9 KB)

:robot:


#4

where can I find the functions such as Split etc?


#5

TextDisplayIs.Split(" "c)(2).ToString

why did you use this as this is the only I thing I have not done


#6

That is because the GetText actually is returning ‘Display is 9’

So to get the number I have split and then taken the 3rd element in the list.


#7

these are VB string functions. Like we have in other languages.


#8

do we have any document where we can see syntax and functions for each data structure etc?


#9

Uipath uses VB .net.
You can use the below links: