I used to the GDI plugin when automating certain test that use Outlook 2007.
A few weeks later I want to run my test and all of a sudden, the items don't get recognized anymore. When I use the RanorexSpy, I can identify the item (rawtext).
What could have caused this and what can be done to prevent this from happening?
GDI/Legacy item recognition changed
Re: GDI/Legacy item recognition changed
Hi,
There is not enough information in your post, so our chances to provide you with a reliable answer are very thin Please answer the below questions:
- your Ranorex version (latest and greatest is 5.4.4)
- your OS version?
- please post the exact error you are getting (ideally, entire report file)
- please post the Ranorex snapshot of your app (with enabled GDI)
- do you run your test on the same machine as before?
- have you tried to run your tests on different machine?
There is not enough information in your post, so our chances to provide you with a reliable answer are very thin Please answer the below questions:
- your Ranorex version (latest and greatest is 5.4.4)
- your OS version?
- please post the exact error you are getting (ideally, entire report file)
- please post the Ranorex snapshot of your app (with enabled GDI)
- do you run your test on the same machine as before?
- have you tried to run your tests on different machine?
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: GDI/Legacy item recognition changed
Ranorex 5.4.1
Windows Server 2008
Application under test is MS Outlook 2007.
Also I noticed that if I use the Ranorex Spy to and select that item, it works but within a few seconds, it selects a different item, not the item I have selected.
I will provide some screenshots/error reports etc.., later today, when I have the chance to talk to test developer in my team.
The snapshot of the item, taken from the RanorexSpy. This the item and the item made variable that dont work anymore. This the edit of the item. Which RanorexSpy can't find. But when I track the item, no problem. Note from Support: Edited and merged posts
Windows Server 2008
Application under test is MS Outlook 2007.
Also I noticed that if I use the Ranorex Spy to and select that item, it works but within a few seconds, it selects a different item, not the item I have selected.
I will provide some screenshots/error reports etc.., later today, when I have the chance to talk to test developer in my team.
The snapshot of the item, taken from the RanorexSpy. This the item and the item made variable that dont work anymore. This the edit of the item. Which RanorexSpy can't find. But when I track the item, no problem. Note from Support: Edited and merged posts
You do not have the required permissions to view the files attached to this post.
Re: GDI/Legacy item recognition changed
Thanks for the details.
Apparently, there are no rawtexts created under the element 4704, in which you expect to find the given rawtext. At least they are not created in snapshot? So it's really weird why they are found in spy.
I would suggest to try the latest Ranorex version (5.4.4), but I don't think there were done some changes related to GDI Capture List recently? Another thing you might try is to right click the element 4704 and add its class name to the GDI Capture List. This should instruct Ranorex to create rawtexts specifically for this supergrid element. Hope this helps?
Apparently, there are no rawtexts created under the element 4704, in which you expect to find the given rawtext. At least they are not created in snapshot? So it's really weird why they are found in spy.
I would suggest to try the latest Ranorex version (5.4.4), but I don't think there were done some changes related to GDI Capture List recently? Another thing you might try is to right click the element 4704 and add its class name to the GDI Capture List. This should instruct Ranorex to create rawtexts specifically for this supergrid element. Hope this helps?
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: GDI/Legacy item recognition changed
Supergrid element 4704 is already added to the GDI Capture List.
Plus I did work last time we tried.
Plus I did work last time we tried.
Re: GDI/Legacy item recognition changed
Too bad. Unfortunately, the GDI capture list is not very reliable way to automate GUI. I would recommend to use it only as a last resort and only for very simple elements.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration