Page 1 of 1

Image Text verification which changes dynamically

Posted: Tue Sep 15, 2015 12:30 pm
by subodh4u7
Hello Ranorex Experts,

I have one situation w.r.t ranorex spy and this goes as below:

I have one area where image will be displayed and these images are sent periodically along with some text on it. Since the area keeps on refreshing with new content, I am not able to track/highlight the text part on it. I am able to track it but since this is kind of dynamic and content keeps on refreshing i m losing the rxpath and there are no chances that i can perform some operation on it.

Can you please any one guide me how can i handle this situation.

I want to verify whether the image which are displayed in that area contains the text.

I am adding the screenshot of the repository in which the element i want to access dynamically. I wont be able share them because of company policy.

Re: Image Text verification which changes dynamically

Posted: Tue Sep 15, 2015 3:20 pm
by odklizec
Hi,

It's pretty hard to provide something helpful without the possibility to analyze snapshot. Screenshot is unfortunately not helpful here.

From the screenshot it looks that your app under test is automation unfriendly ;) If I understand you right, the automationid of selected Text '18' is not persistent? So if there is no other unique attribute for given Text, you are probably out of luck? In some cases, it's possible to construct a relative path using neighboring elements. But looking at the structure of your app, it's probably not this case? Again, it's pretty hard to say something conclusive without examining the snapshot.