Hello all,
I was writing scripts using Ranorex 5.4.4. All was fine, any controls have recognition fast and without any issue.
But at one moment Ranorex Studio Recorder and Spy stop recognition lots of elements. For example, on access form I have buttons, text and etc. Now Ranorex can find only big panels without any controls in it.
I haven't changed any setting. What can it be?
Most of previous tests now rewrite and use coordinates in this panels, but I recorded them with controls(buttons and etc), not coordinates in panels.
Maybe I failed somewhere, but I need your help to solve my issue. I've tried to restart Ranorex and Access, but it doesn't help
Unexpected error with MS ACCESS controls identification
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
Hi,
Unfortunately, there is too little relevant information in your post so there is not much we can suggest. Apparently, something must have changed on your computer since it last worked? Have you updated Ranorex/Access? Have you changed Ranorex settings? Have you installed some MS updates?
Additionally, please post a Ranorex xpath of the element that worked before and now fails. Post also a Ranorex snasphot (not screenshot) from MS Access, ideally, try to take the snapshot of element that now fails. If Ranorex Spy fails to identify that particular element, post a snapshot of the last recognized element. And finally, post the exact error message you are getting.
Unfortunately, there is too little relevant information in your post so there is not much we can suggest. Apparently, something must have changed on your computer since it last worked? Have you updated Ranorex/Access? Have you changed Ranorex settings? Have you installed some MS updates?
Additionally, please post a Ranorex xpath of the element that worked before and now fails. Post also a Ranorex snasphot (not screenshot) from MS Access, ideally, try to take the snapshot of element that now fails. If Ranorex Spy fails to identify that particular element, post a snapshot of the last recognized element. And finally, post the exact error message you are getting.
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
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
I haven't changed any settings or installed any updates. If really I gave you full info that I have.I am disappointed that I don't have more info.Apparently, something must have changed on your computer since it last worked? Have you updated Ranorex/Access? Have you changed Ranorex settings? Have you installed some MS updates?
In attach you can find snapshot. I add it to Studio (add to repository include child.) I didn't find controls what I cannot find using recording.
When I am trying to record I get only OFormSub without any child. I added screenshot with it. Its small, but on form you can find that red frame surround all form.
You do not have the required permissions to view the files attached to this post.
Re: Unexpected error with MS ACCESS controls identification
Hi,
Please upload also the exact error you are getting (it most probably shows failed xpath). The best would be to upload entire report file from failed test.
I tried to find the OFormSub highlighted in your screenshot (using its xpath stored in repository) and Ranorex correctly found it in your provided snapshot. So I'm not exactly sure which control causes you a problem.
BTW, which version of access do you use? Could you please post a sample recording (with repository), which worked before and now fails?
Please upload also the exact error you are getting (it most probably shows failed xpath). The best would be to upload entire report file from failed test.
I tried to find the OFormSub highlighted in your screenshot (using its xpath stored in repository) and Ranorex correctly found it in your provided snapshot. So I'm not exactly sure which control causes you a problem.
BTW, which version of access do you use? Could you please post a sample recording (with repository), which worked before and now fails?
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
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
I don't have error. Ranorex records coordinates on OFormSub to find controls.Please upload also the exact error you are getting (it most probably shows failed xpath)
All of my previous tests have the same at the moment, but in past they contain clicking on controls, not coordinates on form. I think that I failed, but I don't know how to fix it.
Yes, snapshot contains buttons and other controls. I have problems only with recording.I tried to find the OFormSub highlighted in your screenshot (using its xpath stored in repository) and Ranorex correctly found it in your provided snapshot. So I'm not exactly sure which control causes you a problem.
I use Access 2007.BTW, which version of access do you use?
As I said, now all tests use coordinates on form, not controls. I can write tests, but finding controls use coordinates on forms are very inflexible.Could you please post a sample recording (with repository), which worked before and now fails?
I tried to start new project and record again any step, but Ranorex continue using coordinates on form, not control.
Re: Unexpected error with MS ACCESS controls identification
Hi,
I would suggest to uninstall and reinstall Ranorex. Another thing you might try is to install Ranorex on different computer. Just to check if it works/does not work the same on any computer?
Your described behavior is definitely not normal and I still think there must be something different on your PC (since it last worked).
I would suggest to uninstall and reinstall Ranorex. Another thing you might try is to install Ranorex on different computer. Just to check if it works/does not work the same on any computer?
Your described behavior is definitely not normal and I still think there must be something different on your PC (since it last worked).
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
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
It doesn't helpI would suggest to uninstall and reinstall Ranorex.
I cannot start this Access project on different computer. I get some references errors and don't know how to fix it.Another thing you might try is to install Ranorex on different computer. Just to check if it works/does not work the same on any computer?
I am working on remote work station, but as I asked other people no one changes anything.Your described behavior is definitely not normal and I still think there must be something different on your PC (since it last worked).
Re: Unexpected error with MS ACCESS controls identification
Wait, are you working with remote desktop? Just to be sure, do you have Ranorex installed and started on that remote machine? You know, Ranorex cannot identify the elements from remote desktop screen! So if you want to record/replay things on a remote computer (accessed via remote desktop, vnc, etc...), you need to install and run Ranorex on that remote computer! You cannot start Ranorex locally, launch remote desktop and record things from remote desktop. This will never work, because Remote Desktop simply provides just a bunch of screenshots in rapid succession So there is nothing to identify.
Please check this blog post about working with Ranorex on remote machines:
http://www.ranorex.com/support/user-gui ... norex.html
Please check this blog post about working with Ranorex on remote machines:
http://www.ranorex.com/support/user-gui ... norex.html
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
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
Yes, sure, Ranorex installed on remote machine.Just to be sure, do you have Ranorex installed and started on that remote machine
I've read this guide and setup my settings, but it doesn't helpPlease check this blog post about working with Ranorex on remote machines:
Is Ranorex good for working with MS Access? Maybe you have info about it?
I have created a simple MS Access project (form with some buttons) and Ranorex cannot find them
Re: Unexpected error with MS ACCESS controls identification
Hi,
I'm afraid, I'm out of ideas then. In my opinion, there must be something different on that machine. As I mentioned before, I would suggest to try it on another machine.
I'm afraid, I'm out of ideas then. In my opinion, there must be something different on that machine. As I mentioned before, I would suggest to try it on another 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
-
- Posts: 19
- Joined: Tue Jan 27, 2015 4:09 pm
Re: Unexpected error with MS ACCESS controls identification
Anyway thanks for your help, odklizec!