How to Scroll a Page in Tosca: Step-by-Step Guide for Vertical and Horizontal Scrolling
Learn how to scroll a page in Tosca using the Scroll action for precise horizontal or vertical navigation in your test cases.
282 views
To scroll a page in Tosca, you can use the Scroll action in your test case. For horizontal scrolling, specify the direction as 'Right' or 'Left', and for vertical scrolling, use 'Up' or 'Down'. Make sure to assign this action to a suitable TestStep that targets the webpage or application window. If you need precise control, specify the amount to scroll in the 'Value' property.
FAQs & Answers
- How do I perform horizontal scrolling in Tosca? In Tosca, set the Scroll action's direction property to 'Right' or 'Left' to perform horizontal scrolling within your test case.
- Can I control the amount of scrolling in Tosca? Yes, Tosca allows you to specify the scroll amount precisely by setting the 'Value' property in the Scroll action.
- What is the correct way to scroll vertically in a Tosca test case? Use the Scroll action with the direction set to 'Up' or 'Down' and assign it to the TestStep targeting the webpage or application to scroll vertically.