Hi Team ,
I am trying to perform click on operation using Bitmap. Written below sample code and saved a bitmap.
Bitmap bmp = Ranorex.Imaging.Load("D:\\bmp\\new1.jpg");
repo.Fusion.Self.DoubleClick(new Location(bmp, new Imaging.FindOptions(0.80)));
But when I execute this Ranorex is kept on running and showing the message as "Image operation is in progress". and not clicking on my image.
Can you please help me to resolve the issue.
Attached the image which I am trying to click.Tried with both JOg and BMP format as well
Unable to perform Image based click operation
-
- Posts: 32
- Joined: Thu Sep 20, 2018 7:43 am
Unable to perform Image based click operation
You do not have the required permissions to view the files attached to this post.
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: Unable to perform Image based click operation
Hi,
Please ensure that the image was created with Ranorex and not modified afterwards:
Also, please ensure that the image is stored locally (no network drive) and that no other process is using it.
Then your code should work just fine -> Tested with Ranorex 8.3.
Cheers,
Robin
Please ensure that the image was created with Ranorex and not modified afterwards:
Also, please ensure that the image is stored locally (no network drive) and that no other process is using it.
Then your code should work just fine -> Tested with Ranorex 8.3.
Cheers,
Robin
You do not have the required permissions to view the files attached to this post.
-
- Posts: 32
- Joined: Thu Sep 20, 2018 7:43 am
Re: Unable to perform Image based click operation
Hi ,
Thank you for the reply , I have saved it from Ranorex but still same issue .I am on 08.2.1 will it make any difference ?
Thank you for the reply , I have saved it from Ranorex but still same issue .I am on 08.2.1 will it make any difference ?
Re: Unable to perform Image based click operation
Hi,
Make sure that you are not using JPG format. It's probably the worst format for image comparison, because of image compression. BMP should be OK.
Ranorex 8.3 should not make any difference in this particular case. But one never knows? There is a lot of fixes in 8.3, but there is nothing mentioned that could be related to your problem. I would definitely try it.
BTW, what OS are you you using? Have you tried it on another computer?
Make sure that you are not using JPG format. It's probably the worst format for image comparison, because of image compression. BMP should be OK.
Ranorex 8.3 should not make any difference in this particular case. But one never knows? There is a lot of fixes in 8.3, but there is nothing mentioned that could be related to your problem. I would definitely try it.
BTW, what OS are you you using? Have you tried it on another computer?
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: 32
- Joined: Thu Sep 20, 2018 7:43 am
Re: Unable to perform Image based click operation
Thank you for the details.
I am on Win 10 and I have tried in different machines as well still the same issue.Ranorex keeps on running with the message
I am on Win 10 and I have tried in different machines as well still the same issue.Ranorex keeps on running with the message
odklizec wrote: ↑Tue Oct 16, 2018 10:22 amHi,
Make sure that you are not using JPG format. It's probably the worst format for image comparison, because of image compression. BMP should be OK.
Ranorex 8.3 should not make any difference in this particular case. But one never knows? There is a lot of fixes in 8.3, but there is nothing mentioned that could be related to your problem. I would definitely try it.
BTW, what OS are you you using? Have you tried it on another computer?
-
- Posts: 32
- Joined: Thu Sep 20, 2018 7:43 am
Re: Unable to perform Image based click operation
I have tried with BMP format as well , but still, the same issue, Can you suggest me any other solution to resolve this
Thanks
Thanks
mohan.pentyala wrote: ↑Tue Oct 16, 2018 10:32 amThank you for the details.
I am on Win 10 and I have tried in different machines as well still the same issue.Ranorex keeps on running with the message
odklizec wrote: ↑Tue Oct 16, 2018 10:22 amHi,
Make sure that you are not using JPG format. It's probably the worst format for image comparison, because of image compression. BMP should be OK.
Ranorex 8.3 should not make any difference in this particular case. But one never knows? There is a lot of fixes in 8.3, but there is nothing mentioned that could be related to your problem. I would definitely try it.
BTW, what OS are you you using? Have you tried it on another computer?
Re: Unable to perform Image based click operation
What happens, if you keep the test running? Does it fail with an error message?
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: 32
- Joined: Thu Sep 20, 2018 7:43 am
- RobinHood42
- Posts: 324
- Joined: Fri Jan 09, 2015 3:24 pm
Re: Unable to perform Image based click operation
Hi,
There's definitely something broken: Ranorex installation, the recording, the repository.
Please try a clean re-install of Ranorex. Therefore, completely remove Ranorex -> Reboot the machine ( ! ) -> Install the latest version of Ranorex (currently 8.3)
Afterwards, try to create a new solution from scratch and try to reproduce the issue.
Cheers,
Robin
There's definitely something broken: Ranorex installation, the recording, the repository.
Please try a clean re-install of Ranorex. Therefore, completely remove Ranorex -> Reboot the machine ( ! ) -> Install the latest version of Ranorex (currently 8.3)
Afterwards, try to create a new solution from scratch and try to reproduce the issue.
Cheers,
Robin