Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » dynamic/runtime object recognition
dynamic/runtime object recognition [message #1752486] Tue, 24 January 2017 11:57 Go to next message
Sergey Korzhevsky is currently offline Sergey KorzhevskyFriend
Messages: 4
Registered: January 2017
Junior Member
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 #1752680 is a reply to message #1752486] Thu, 26 January 2017 07:10 Go to previous messageGo to next message
Kevin Barbe is currently offline Kevin BarbeFriend
Messages: 64
Registered: July 2016
Member
Hi Sergey,

unfortunately, we currently do not have any way to achieve object mapping by some sort of findObject method. I also do not know of a simple way to have a workaround for that feature.

Best regards,
Kevin
Re: dynamic/runtime object recognition [message #1752703 is a reply to message #1752680] Thu, 26 January 2017 10:34 Go to previous message
Sergey Korzhevsky is currently offline Sergey KorzhevskyFriend
Messages: 4
Registered: January 2017
Junior Member
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.


Previous Topic:Testing Swing inside Rcp Application
Next Topic:Test NAT tables with Jubula
Goto Forum:
  


Current Time: Tue Sep 25 14:35:10 GMT 2018

Powered by FUDForum. Page generated in 0.01339 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top