SAP Application

Hi,

As mentionned here :

Sometimes the Scroll just brings the top of the element in page and stops.
Then either it is not really interactable, or visually hidden (behind a footer).

When you debug step by step behavior, does the element really appear fully on the screen ? It’s not clear if your error is on scroll action or click, but :

If yes i.e. scroll works, click fails:

  • Maybe the xpath/locator to scroll can not be the same for click (use axes maybe like parent, ancestor…)
  • Click action is too fast, you would use a Wait that element is visible or enabled
  • The element is not fully in the page, so maybe again use axes to point out the next element to add some kind of scroll offset

If scroll fails :

  • As previous first point, locator to click might not be the same to scroll and need adjustment
  • The path/locator might not be wrong, but doesn’t act on what you expect (scroll an upper or wider element already visible for example)

Regards
Charlie

1 Like