ui5-uiveri5 icon indicating copy to clipboard operation
ui5-uiveri5 copied to clipboard

Issue Regarding Scrolling

Open Sujata443 opened this issue 4 years ago • 2 comments

Hi,

I want to know if there is any function which could support scrolling at UI.

1.Below is the screen shot of the code which have some expect statements .

Screenshot (36)

2.Here in order to check the presence of UI elements after privacy setting label the scrolling is required so some of the expect statements are failing.

09createSite-Validate-the-elements-and-labels-present_3_pass_2020-11-05T09-02-50

3.Hence Scrolling is happening just because of click statement i.e. showAdvanceOptions.click();and all the above expect statements (from privacy setting to showsdvanceoptions)are failing.

09createSite-Validate-the-elements-and-labels-present_44_pass_2020-11-05T09-03-33

Sujata443 avatar Nov 05 '20 09:11 Sujata443

we already have a task in our backlog to investigate similar scrolling behavior. can we have the configuration or a link to the app so that we can reproduce the exact problem?

tsaleksandrova avatar Dec 14 '20 13:12 tsaleksandrova

Hi,

Even we are facing a similar issue. The requirement for us is to write a UIVeri5 test for scrolling behavior in sap.ui.table.TreeTable.

Some of the options which we tried

  1. Use of window.scrollTo() function. Since the TreeTable resides within the ObjectPage this didn't work for us.
  2. Use of mouseMove() function. Since the TreeTable use virtual scrolling concept we are unable to trigger mouse move to element in second page

Can you please suggest as to how we can resolve our issue. Let me know if you need more information.

Best Regards, Rohit Badugu

ghost avatar Apr 22 '21 07:04 ghost