Ranorexpath and grid questions
Posted: Thu Jan 09, 2014 3:33 am
I am still evaluating ranorex for our automation needs. I do have a few questions.
1. Our application has a lot of dynamic id's and it just seems that for every other object I need to modify the setting for the weights in order to ignore the id's. I see there is a setting there for Sencha, and even though my app has Sencha controls, it does not filter all the id's.
Is there a setting that would cause a general effect? or even better is there a way where I can tell ranorex to ignore any numbers created in the path for id and regex them because I do not have names or any other unique identification. I would need a couple of properties to make the elements unique:
//div[#'draw-1239'][@class='x-surface x-box-item x-surface-default']/
2. Sometimes the path recorded is not even enough to uniquely identify an element. I need to select a parent in the hierarchy that would narrow the search. It is not easy to do that. Using the spy I can see in the Browser & Results some things that I would want to include in the path. What is the best way to "enhance" the recorded path, it is not intuitive to do it with the browser and results.
3. Can the paths be relative to other items in the repository? For example if I have the path for a section in a page that then has more controls that are children of it, could I have a path that adds to the captured path of the parent? would the recorder recognize that? or do I have to have user modules for it?
Also, I am thinking about maintenance of the repository, I would not want to repeat parts of the path that I had already determined.
4. In the case of grid-views do you have any adapters for them? In some tools I am able to work with tables like cell at row and column, etc. I have a grid that for each tr the td's can have inner cells, spans and images and each tr is unique.
5. What is the specific Sencha support you have? I just want to be aware if there is something that I am missing because I can't tell there are adapters for the controls I am working with.
Thanks.
1. Our application has a lot of dynamic id's and it just seems that for every other object I need to modify the setting for the weights in order to ignore the id's. I see there is a setting there for Sencha, and even though my app has Sencha controls, it does not filter all the id's.
Is there a setting that would cause a general effect? or even better is there a way where I can tell ranorex to ignore any numbers created in the path for id and regex them because I do not have names or any other unique identification. I would need a couple of properties to make the elements unique:
//div[#'draw-1239'][@class='x-surface x-box-item x-surface-default']/
2. Sometimes the path recorded is not even enough to uniquely identify an element. I need to select a parent in the hierarchy that would narrow the search. It is not easy to do that. Using the spy I can see in the Browser & Results some things that I would want to include in the path. What is the best way to "enhance" the recorded path, it is not intuitive to do it with the browser and results.
3. Can the paths be relative to other items in the repository? For example if I have the path for a section in a page that then has more controls that are children of it, could I have a path that adds to the captured path of the parent? would the recorder recognize that? or do I have to have user modules for it?
Also, I am thinking about maintenance of the repository, I would not want to repeat parts of the path that I had already determined.
4. In the case of grid-views do you have any adapters for them? In some tools I am able to work with tables like cell at row and column, etc. I have a grid that for each tr the td's can have inner cells, spans and images and each tr is unique.
5. What is the specific Sencha support you have? I just want to be aware if there is something that I am missing because I can't tell there are adapters for the controls I am working with.
Thanks.