picture accessible descriptions not working properly
Posted: Thu Dec 16, 2010 6:18 pm
I am trying to identify objects in a QT GUI using picture descriptions. This is an image that changes based on different system states as does the picture description. I cannot use image validation for this as I have multiple statuses that utilize the same pictures.
The spying initially works when trying to highlight from the repository however once the picture changes the highlight function starts highlighting incorrect pictures.
For example one description is "This server is in sync"
Another description is "This serer is not in sync"
I have the following picture repo items named as follows to represent those. I am using indexes to represent the different pictures for my 1st and 2nd statuses.
.//picture[@accessibledescription='This server is not in sync'][1]
.//picture[@accessibledescription='This server is not in sync'][2]
.//picture[@accessibledescription='This server is in sync'][1]
.//picture[@accessibledescription='This server is in sync'][2]
When picture 1 changes from accessibledescription "This server is not in sync" to "This server is in sync" Rnaorex does not pick up on it and if I try to highlight the repo item it will highlight the picture for either of the pictures in my repo.
It seems to dislike the state changes. I am suing Ranorex 2.3.5. Please fix this as I am out of options.
The spying initially works when trying to highlight from the repository however once the picture changes the highlight function starts highlighting incorrect pictures.
For example one description is "This server is in sync"
Another description is "This serer is not in sync"
I have the following picture repo items named as follows to represent those. I am using indexes to represent the different pictures for my 1st and 2nd statuses.
.//picture[@accessibledescription='This server is not in sync'][1]
.//picture[@accessibledescription='This server is not in sync'][2]
.//picture[@accessibledescription='This server is in sync'][1]
.//picture[@accessibledescription='This server is in sync'][2]
When picture 1 changes from accessibledescription "This server is not in sync" to "This server is in sync" Rnaorex does not pick up on it and if I try to highlight the repo item it will highlight the picture for either of the pictures in my repo.
It seems to dislike the state changes. I am suing Ranorex 2.3.5. Please fix this as I am out of options.