Hello
I use Ranorex 4.0.2.21666 to automate testing for Wpf application.
But we are facing problems while trying to use Vertical Scrollbars or control their movement. When we check the spy , we can see another dummy vertical scrollbar with the same positioning being created within the same roup panel and also we are not able to manually control the field value for the Vertical Scrollbar either via user code or using the SetValue action. The reason for us to control the movement of the scrollbar is we want in our playback of the testing for the mouse action to hit the exact location on the group panel and since we are not able to control the value of the position of the scrollbar the scrollbar keeps getting reset to the original starting position in the group panel.
Version of Ranorex used - 4.0.2.21666
OS - Windows 7 32 bit
Attachments - Screenshot of the vertical scrollbar
Snapshot can be provided on request
Regards,
Sourish Halder
Behaviour of Vertical Scrollbar
-
- Posts: 5
- Joined: Thu Jun 20, 2013 5:05 am
Behaviour of Vertical Scrollbar
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: Behaviour of Vertical Scrollbar
Hello Sourish,
In general, you should be able to use 'Set Value' for the 'VerticalScrollBar'.
Is it implemented as a 'ScrollViewer' control?
Could you please post or send us ([email protected]) a Ranorex Snapshot of your application in order to analyze this issue? Please take a look at Creating Ranorex Snapshot Files in our User Guide.
Thank you in advance.
Regards,
Markus (T)
In general, you should be able to use 'Set Value' for the 'VerticalScrollBar'.
Is it implemented as a 'ScrollViewer' control?
Could you please post or send us ([email protected]) a Ranorex Snapshot of your application in order to analyze this issue? Please take a look at Creating Ranorex Snapshot Files in our User Guide.
Thank you in advance.
Regards,
Markus (T)
-
- Posts: 5
- Joined: Thu Jun 20, 2013 5:05 am
Re: Behaviour of Vertical Scrollbar
Hello Markus ,
It is implemented as a ScrollViewer Control. And we tried using SetValue action to set the value , but it was not working. I even tried to set the value from the user code perspective but that too did not have any effect.
Kindly do let me know if you need the snapshot .. .we can provide it on request.
Regards
Sourish
It is implemented as a ScrollViewer Control. And we tried using SetValue action to set the value , but it was not working. I even tried to set the value from the user code perspective but that too did not have any effect.
Kindly do let me know if you need the snapshot .. .we can provide it on request.
Regards
Sourish
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Behaviour of Vertical Scrollbar
Hello,
Could you please post or send us a Ranorex Snapshot of your application in order to analyze it?
Thank you in advance.
Regards,
Markus (T)
Could you please post or send us a Ranorex Snapshot of your application in order to analyze it?
Thank you in advance.
Regards,
Markus (T)
-
- Posts: 5
- Joined: Thu Jun 20, 2013 5:05 am
Re: Behaviour of Vertical Scrollbar
Hello Markus,
Apologies for the delay. Attached is the snapshot of the vertical scrollbar.
Please notice that even though there is one vertical scrollbar in the form , there is another dummy repository item that gets created pointing to the same repo item , but has no additional value... which is a bit strange.
Thanks in advance
Sourish
Apologies for the delay. Attached is the snapshot of the vertical scrollbar.
Please notice that even though there is one vertical scrollbar in the form , there is another dummy repository item that gets created pointing to the same repo item , but has no additional value... which is a bit strange.
Thanks in advance
Sourish
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: Behaviour of Vertical Scrollbar
Hello,
Thank you for the snapshot file.
You have to use the scroll bar element where the attribute "@accessiblename='Vertical'" is available.
This should be the element with the attribute FlavourName='msaa'.
Add the scroll bar element to your repository and use "SetValue" action as shown below. The value "80" represents the position or the scroll indicator.
Regards,
Bernahrd
Thank you for the snapshot file.
You have to use the scroll bar element where the attribute "@accessiblename='Vertical'" is available.
This should be the element with the attribute FlavourName='msaa'.
Add the scroll bar element to your repository and use "SetValue" action as shown below. The value "80" represents the position or the scroll indicator.
Regards,
Bernahrd
You do not have the required permissions to view the files attached to this post.
-
- Posts: 5
- Joined: Thu Jun 20, 2013 5:05 am
Re: Behaviour of Vertical Scrollbar
Hello ,
In regards to your response , I tried explicitly setting the value of the scrollbar with the attribute FlavourName = 'msaa' in the *.rxrec ... but we were still not able to control the movement of the scrollbar. Can you suggest any particular setting or property we should be looking at.
Regards,
Sourish
In regards to your response , I tried explicitly setting the value of the scrollbar with the attribute FlavourName = 'msaa' in the *.rxrec ... but we were still not able to control the movement of the scrollbar. Can you suggest any particular setting or property we should be looking at.
Regards,
Sourish
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Behaviour of Vertical Scrollbar
Hello,
I would like to analyze the issue in more detail.
Would it be possible to have an online meeting? For the further communication I would suggest using email. Please send your answer to [email protected].
Thank you!
Regards,
Bernhard
I would like to analyze the issue in more detail.
Would it be possible to have an online meeting? For the further communication I would suggest using email. Please send your answer to [email protected].
Thank you!
Regards,
Bernhard