Select a tree view item of a Dot net application

Asked by Monojit Sngh on 2017-08-08

Hi, I am new to sikuli. I am using Eclipse and Java to automate a Dot net application. Here i want to navigate to a treeview control
(Hierarchical list of items). The list remains collapsed as soon as we launch the application. I want to click a specific item taking
input text from an external source in string format. I am able to do it easily in QTP, TestComplete but how can I achieve this using sikuli? The indexing of the items in the Treeview control keeps changing, hence navigating to the item using navigation keys is
not something I would prefer. Any help would be greatly appreciated.

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2017-08-08
Last reply:
2017-08-09
masuo (masuo-ohara) said : #1

I think it is difficult to find variable text items out of treeview control by using SikuliX.

If operation of treeview control is not main workflow, I use UI Automation only when I need that operation.
For example, by using run() feature in SikuliX script, run UI Automation client application and wait it finish.
UI Automation client application may be PowerShell script by using "UIAutomation PowerShell Extension".
http://uiautomation.codeplex.com/

I am a SikuliX user, not a developer, this is my personal opinion.
So please wait for another opinion too.

Can you help with this problem?

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

To post a message you must log in.