I have two scenarios in SAP, SAP with list of data on screen and Empty Screen

I have two scenarios in SAP on daily basis.

  1. SAP with list of data on screen and click one by one to extract data
  2. Empty Screen with no data.
    I want, if above 1 scenario pops up then click on Material row and extract data.
    else if above 2 scenario pops up just display message “No list for this week”.
    Used Image Exists Activity, by capturing screen but failed.
    Any suggestions please. attached images for info


the first solution that comes to my mind is to simply download the data as excel, by clicking on the specific icon, and the che the rows into the excel.

Otherwise you could spy the first item in first row, and use element exists with a proper timeout to check if one row is present or not.


1 Like