I am currently writing automated tests for an application written in Delphi.
There I am facing the problem that DropDown-Boxes, Listboxes and tables are recognised as one big object so I needed to activate the GDI-Plugin for the respective classes.
This, in addition to a little coding, solved my troubles for DropDown- and Listboxes perfectly since I was now able to access the RawText-Elements.
However for the TWlDbGrid this does not seem to work.
1.) When I open the RanorexSpy for such a grid I do not see the cells as RawText-Elements:
2.) If I activate the Item-Tracking I can access the table cells:
3.) now the RawText-Elements are visible in the Spy:
4.) As soon as I click the refresh button in the spy the RawText-Elements are gone again...
I also cannot access the RawText-Elements for a TWlDbGrid inside a CodeModule:
Code: Select all
String rawTextPfad = repo.App.TPanel.Kundentabelle.GetPath().ToString() + "/rawtext" ; Element auswahl ; bool rv = Host.Local.TryFindSingle(rawTextPfad,out auswahl);
In conclusion I cannot access the contents of the tables in any way, which makes the test automation rather difficult. Can you please help me? Maybe I am lacking a setting of some sort ...
I attached 3 snapshotfiles (one befroe and one after tracking, the third one is after pressing refresh).
Thank you very much for your effort and best regards.