Ranorex 3.0.1 refresh Infragistics UltraWinGrid only on LostFocus.
Automated Testprocedure:
1. Select Cell works with XPath = … /element/table/row[@childindex='2']/cell[@childindex='1']
2. Reset Grid in AUT (DataSource = null)
3. Load the same Grid in AUT
4. Select Cell works with XPath = … /element/table/row[@accessiblename='row 1']/cell[@accessiblename='Title']
5. no Cell are found with XPath = … /element/table/row[@childindex='2']/cell[@childindex='1']
Except another Window than AUT gets the focus before timeout!
I have tried long Timeout and disabled Cache. The Repository Path is absolute.
Manual Testprocedure:
1. Track Cell with Ranorex Spy. XPath = … /element/table/row[@accessiblename='row 1']/cell[@accessiblename='Title']
2. Reset Grid in AUT
3. Load Grid in AUT
4. Select other Cell in Ranorex Spy. XPath = … /element/table/row[@accessiblename='row 0']
But there is no ‘row 0’.
XPath dont work in Ranorex Spy until refresh.
Infragistics UltraWinGrid refresh only on LostFocus
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Infragistics UltraWinGrid refresh only on LostFocus
Hi,
Does this happen in Ranorex 2.x too?
Could it be possible that the element needs an focus change to update the data?
Have you asked your developers yet, if they have implement such a functionality?
Regards,
Peter
Ranorex Team
Would it be possible to send or post us a sample application with this special grid?mats wrote:Ranorex 3.0.1 refresh Infragistics UltraWinGrid only on LostFocus.
Does this happen in Ranorex 2.x too?
Could it be possible that the element needs an focus change to update the data?
Have you asked your developers yet, if they have implement such a functionality?
Regards,
Peter
Ranorex Team
Re: Infragistics UltraWinGrid refresh only on LostFocus
Unfortunately did I test this grid after installing Ranorex 3.x. There is no easy way to create a sample application.Would it be possible to send or post us a sample application with this special grid?
Does this happen in Ranorex 2.x too?
The update should be done automatically by the grid.Could it be possible that the element needs an focus change to update the data?
Have you asked your developers yet, if they have implement such a functionality?
Why needs Ranorex Spy a refresh to recognize XPath?XPath dont work in Ranorex Spy until refresh.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Infragistics UltraWinGrid refresh only on LostFocus
Hi,
It seems that you have dynamic elements in your RxPath which changes after each refresh. Therefore try to use an unique RxPath to the specific cell. Take a look at the available attributes and try to select/use those ones that do not change.
There is also a blog which handles this topic:
http://www.ranorex.com/blog/eliminate-d ... norexpaths
Without a sample application it is very hard for us to give the a appropriate help.
It would help us if you can send us snapshots of your application and the specific cell?
One before you perform a reset/load and one after a reset.
Following link will show you how to generate a snapshot file.
Regards,
Markus
Ranorex Support Team
Normally it does not need a refresh, if the application does not change, the RxPath is also the same and the Spy will recognize the element with the specified RxPath.XPath dont work in Ranorex Spy until refresh.
Why needs Ranorex Spy a refresh to recognize XPath?
It seems that you have dynamic elements in your RxPath which changes after each refresh. Therefore try to use an unique RxPath to the specific cell. Take a look at the available attributes and try to select/use those ones that do not change.
There is also a blog which handles this topic:
http://www.ranorex.com/blog/eliminate-d ... norexpaths
Without a sample application it is very hard for us to give the a appropriate help.
It would help us if you can send us snapshots of your application and the specific cell?
One before you perform a reset/load and one after a reset.
Following link will show you how to generate a snapshot file.
Regards,
Markus
Ranorex Support Team