ScrollViewer

2 posts, 0 answers
  1. Peter
    Peter avatar
    17 posts
    Member since:
    Mar 2017

    Posted 26 Mar Link to this post

    Hi,

    Is it possible not to use specific XY coordinates when simulating a click on ScrollViewer in order to change its value? For example, clicking on the right side or left side to increase or decrease the value. Can I use the ScrollToLeftEnd() or ScrollToRightEnd() methods, or are there more suitable ones?

    For example, in the picture, what would be the best way to simulate the user setting the value to 1.23%?
  2. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 29 Mar Link to this post

    Hi Peter,

    Please specify the nature of the application you are automating. Is it a Web or WFP based one?
    The control you have there seems to be a Slider instead of a ScrollViewer. It is possible to automate such elements in coded steps indeed. Once you locate the element you may control it using the available wrapper methods. 

    I hope this helps.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top