Need to check Delete icon exist or not with respect to dropdown list

Hello,
i need to verify the delete image/icon exist or not in row by row(in the table present in SAP). with respect to dropdown list,(in dropdown we have n numbers of items).
for each item in dropdown, we need compare Delete icon present or not(in the table present in SAP.
can we achieve this?, Please help …[SAP2|559x203]
SAP2

SAp1strong text

2 Likes

Hello @Harsha.P,

  • Can you try extracting Short Text Column using Data Scrapping and use For Each Row
  • Now Inside For Each Row Use Select Item Activity and pass this column as a input.
  • now you can check if the Image is exist or not

Cheers
@Harsha.P

Hello @Pradeep_Shiv

I tried with the data scrapping but unable to check Delete Icon
Delete icon was not capturing in table(Data scrapped)

@Harsha.P

Share the selectors of delete icon, in material - 267960

Thanks

Hello @Srini84

Here is the selectors of delete icon -in Item 10 & Material - 267960(Del Icon present)

Hello @Srini84

Here is the selectors of delete icon -in Item 60 & Material - 267960 (Del Icon Not present)

1 Like

@Harsha.P

IF there is no Icon then the statusICON[0,0] If there is statusICON [0,1]

accordingly you can build your automation

Thanks

1 Like

Thanks @Srini84

please guide how to verify these selectors(what activities can be use ?)

Use Element Exists Activity to check

Indicate the element that Delete icon enabled one

If exists it will give true, then declare a variable as below

btnDelete = “True” / “False”

By this you can continue your logic

Mark as solution if this helps

Thanks

Thanks for the guidance @Srini84

its getting true for both scenarios(Del icon present and not present) .
And also i need to check Del icon row after the row.

@Harsha.P

Oh ok, Then Use Get Attributes Activity and Choose Visibility

Hope you will get some solution with that

Thanks