The quote value (155.5) in the non editable textbox can we read using Sikuli

Asked by lava

My Application is based on Windows SWT based and using XUL framework. when we select the different values the quote value dynamically changes :

1. Can you help me know if from the non editable text box the value can be read by sikuli and if that is dynamic value how to handle it
2. in the same page we have many non editable textboxes resembling similar with different values too

   Please help us to understand how Sikuli help us to automate dynamic values in the non editable text boxes

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
TestMechanic (ndinev) said :
#1

Tell us
-- can you copy values to clipboard
-- can you move around values with TAB

Screenshot will be helpful

Revision history for this message
lava (lavanyavsr) said :
#2

On Tuesday, September 26, 2017, TestMechanic <
<email address hidden>> wrote:

> Your question #658647 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/658647
>
> Status: Open => Needs information
>
> TestMechanic requested more information:
> Tell us
> -- can you copy values to clipboard
> -- can you move around values with TAB
>
> Screenshot will be helpful
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/sikuli/+question/658647
>
> You received this question notification because you asked the question.
>

--
Sent from Gmail Mobile

Revision history for this message
masuo (masuo-ohara) said :
#3

@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.

Can you help with this problem?

Provide an answer of your own, or ask lava for more information if necessary.

To post a message you must log in.