dynamic/runtime object recognition [message #1752486] |
Tue, 24 January 2017 06:57  |
Eclipse User |
|
|
|
Hi All,
I have a swing application with many (thousands) almost identical text fields. So, manual recognition and mapping is not an options. The main difference between these fields is a name property.
So, i need something like that (pseudo code):
obj = AUT.FindObject(class="com.main.Text",name="field1");
val = obj.value;
In this case, my test needs just a list of pairs like "name=regexp" which i can parse, find corresponding field and check if value matches regexp.
That's an idea.
I read jubula docs, but didn't find anything like that.
Any suggestions/examples?
Thanks in advance.
|
|
|
|
Re: dynamic/runtime object recognition [message #1752703 is a reply to message #1752680] |
Thu, 26 January 2017 05:34  |
Eclipse User |
|
|
|
Hi Kevin,
Thank you very much for response.
Actually, i wonder, why it is not possible/not implemented if during manual object recognitions we can see all object's properties? ITE, in that case, is like an external program which is finding/getting attributes.
|
|
|
Powered by
FUDForum. Page generated in 0.05050 seconds