← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #658647]: The quote value (155.5) in the non editable textbox can we read using Sikuli

 

Question #658647 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658647

    Status: Open => Answered

masuo proposed the following answer:
@lava

When it is difficult to read text by using SikuliX only, I recommend to integrate with another tools.
For example by using "UIAutomation PowerShell Extensions", it may be able to read elements of your Windows Application. But it depends on your environment.  .NET version and PowerShell version and another.

You can download "UIAutomation PowerShell Extensions" here.
https://uiautomation.codeplex.com/

Unzip the download file, you will find "UIAutomationSpy.exe" file.
Try UIAutomationSpy if it be able to get elements inside your Windows Application or not.
If UIAutomationSpy can find unique element id or name inside your Windows Application, it may be able to read elements by using PoweShell script.

By calling runScript() in SikuliX script, it is able to run PowerShell script.
In PowerShell script, read elements then output clipboard.
In SikuliX script, read clipboard.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.