junkew Posted May 22, 2017 Share Posted May 22, 2017 Hi, I wanted to extend my IUIAutomation thread with some frontends but no clear clue on how to do the following A project / solution explorer treeview on the left solution 1 Testcase 1 group A group B Testcase 2 solution 2 Number of nested levels can grow and should be configurable to manage your full project A list with about 4 columns (extensible to more later) where I can edit preferably a drop down box and edit box a. element name, b.element action, c.element data, d.element description A form below the list that show detailed fields about the row selected in the list sync the UI with the data (which is either in CSV, XML, SQLite or any other table storage) Intention then is to make some testautomation keyword driven view like firefox selenium IDE has (but offcourse then much better ) Not done much with the GUI parts of AutoIt so far and especially number 4 I would like to understand better on how to keep data in sync with listview/treeview. So data that is not shown in the listview where do I keep it and when I select a row in the listview then how to show the related data in the 3. form at the bottom FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Skysnake Posted May 22, 2017 Share Posted May 22, 2017 Hi End of last year I thought to use a Treeview. I struggled. I had some excellent help form the usual friendly folks here on the forums, but in the end I could not get it to work. I went back to a basic ListView display. I am willing to help testing TreeViews if you need a tester. Most commonly TreeViews seem to be used for file/folder browsing, but I am sure there are other applications. What I found difficult was to identify the branches and items. Skysnake Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
junkew Posted May 22, 2017 Author Share Posted May 22, 2017 https://www.autoitscript.com/forum/topic/186975-action-on-selection-in-treeview and some other postings give me an idea but for me its where to have what regarding the keys that flow around in the GUI (itemdata attribute of treeview etc) Maybe a little longer explanation 1. In the treeview I will have some (almost) static data just like a "normal" project explorer like visual studio code editor has. This will be some hierarchical data most likely in an XML or JSON datastore 2. When I click something in the treeview I want to show n related records releated to the selected treeview node 3. When I click something in the listview I want to show the details of the selected record in the listview 4. Sync it / Edit it and saving the related records to a database file (but lets start with just a flat CSV file/ array) FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now