IBM Business Automation Community Come for answers. Stay for best practices. All we’re missing is you. Join / Log in Ask a question
Hi, Do you have resolve this issue? I use [getValue --selector "Id" --id "wnd/sbar" logonFailMsg=value] and get the value correctly.
Unfortunatelly no. At least not with InnerText property, which is pretty frustrating, that recorder can see the innerText, but the runtime environment is not able to get it...
So I had to make a workaround for this, which looks like:
waitControl --forcerefresh --selector "Id" --id "wnd/sbar" --timeout "00:00:02" MessageBarFound=value
click --selector "ClassName" --clickonposition --controlsimilarity 100 --position "10,10" --simulatehuman --forcerefresh --classname GuiStatusbar --timeout "00:00:02"
However this technic may takes several seconds in rintime (waiting for window to appear) which slows down the code if you have to check it for many data input, also not too elegant.:-( It would be much better, if the runtime would ba able to do what the recorder can: read out that bloody innerText.
Hope this helps. :-)
Thanks for the help, it's working!
(My only problem is that why I was so stupid, that I didn't try or find the getValue... but you don't have to answer... :-D )