I have recently upgraded from 3.3.0 to 3.3.3. Now the only way I can get any image steps to execute correctly is to just play the single step for that image as seen below for step 11:
If I try to build and run the entire Test Case I consistently get the following error. There also is no folder in my Ranorex directory that is referenced in the log report. Any help with this matter is appreciated. Thanks
3.3.3 Image Issue
-
- Posts: 94
- Joined: Tue Jun 16, 2009 10:27 pm
3.3.3 Image Issue
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 3.3.3 Image Issue
Hello,
Do you have multiple projects in your solution?
In order to reproduce this issue we would need more information on which action does this error occur.
Regards,
Markus (T)
Do you have multiple projects in your solution?
In order to reproduce this issue we would need more information on which action does this error occur.
Regards,
Markus (T)
-
- Posts: 94
- Joined: Tue Jun 16, 2009 10:27 pm
Re: 3.3.3 Image Issue
Yes I have multiple projects in my solution.
When I run step 11 by itself (which is just an image based mouse click), it works. However, when run the entire project containing the recording with step 11, then I get the error message.
When I run step 11 by itself (which is just an image based mouse click), it works. However, when run the entire project containing the recording with step 11, then I get the error message.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 3.3.3 Image Issue
Hello,
Please provide us information on the structure of your projects in your solution.
Could you please verify which repository (e.g. TacViewLibRepository.rxrep) is used in your projects?
Make sure that the correct repository is linked to your main project.
Please take a look at this post.
This could be the same issue that you have.
Regards,
Markus (T)
Please provide us information on the structure of your projects in your solution.
Could you please verify which repository (e.g. TacViewLibRepository.rxrep) is used in your projects?
Make sure that the correct repository is linked to your main project.
Please take a look at this post.
This could be the same issue that you have.
Regards,
Markus (T)
-
- Posts: 94
- Joined: Tue Jun 16, 2009 10:27 pm
Re: 3.3.3 Image Issue
As you can see from the screenshot below our projects are structured where all projects use 1 repository from a class library. In this case 'TacViewLibRepository.rxrep' in the TacViewLib Project.
I was able to get image validation to work in other projects by right clicking on the project (i.e. TacViewPreferences) and selecting Add > Existing Item > TacViewLibRepository.rxrep THEN SELECTING THE LINK OPTION. However, this results in over 600 Ranorex warnings. With the majority of the warnings pertaining to the fact that the CS file that is created in TacViewPreferences when doing the "Link" step has the TacViewLib namespace. This results in 2 TacViewLibRepository CS files in the same namespace.
We had no problems with image validation in Version 3.3.0. All this occurs after we upgraded to Version 3.3.3. If you have any documentation regarding what changes were made regarding image validation in Version 3.3.3 maybe that would be useful to us. Thanks
I was able to get image validation to work in other projects by right clicking on the project (i.e. TacViewPreferences) and selecting Add > Existing Item > TacViewLibRepository.rxrep THEN SELECTING THE LINK OPTION. However, this results in over 600 Ranorex warnings. With the majority of the warnings pertaining to the fact that the CS file that is created in TacViewPreferences when doing the "Link" step has the TacViewLib namespace. This results in 2 TacViewLibRepository CS files in the same namespace.
We had no problems with image validation in Version 3.3.0. All this occurs after we upgraded to Version 3.3.3. If you have any documentation regarding what changes were made regarding image validation in Version 3.3.3 maybe that would be useful to us. Thanks
You do not have the required permissions to view the files attached to this post.
-
- Posts: 169
- Joined: Thu Jan 13, 2011 2:06 pm
Re: 3.3.3 Image Issue
Markus,
In the following post http://www.ranorex.com/forum/post16707. ... age#p16707 you mentioned that the absolute path is now no longer stored in the repo file which seems to be the cause of the problem here. The absolute path before was properly finding the RepositoryImages/*.rximgres file of TacViewLib trying to be accessed in the recording of TacViewPreferences. However now that the absolute path is no longer stored the TacViewPreferences recording is looking in the relative path position where the rximgres file is not located since it is in a different project.
What seems to be needed is a way to link the rximgres file so that it gets placed inside the TacViewPreferences/RepositoryImages folder when doing a build. Is this possible?
In the following post http://www.ranorex.com/forum/post16707. ... age#p16707 you mentioned that the absolute path is now no longer stored in the repo file which seems to be the cause of the problem here. The absolute path before was properly finding the RepositoryImages/*.rximgres file of TacViewLib trying to be accessed in the recording of TacViewPreferences. However now that the absolute path is no longer stored the TacViewPreferences recording is looking in the relative path position where the rximgres file is not located since it is in a different project.
What seems to be needed is a way to link the rximgres file so that it gets placed inside the TacViewPreferences/RepositoryImages folder when doing a build. Is this possible?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: 3.3.3 Image Issue
Hello,
It seems to be the same issue as posted in How to include the Image Repository in the executable?
This bug is fixed in our current version 3.3.4.
Please undo the previous steps (link repository) and update to our current version.
Regards,
Markus (T)
It seems to be the same issue as posted in How to include the Image Repository in the executable?
This bug is fixed in our current version 3.3.4.
Please undo the previous steps (link repository) and update to our current version.
Regards,
Markus (T)