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]
- 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
I tried with the data scrapping but unable to check Delete Icon
Delete icon was not capturing in table(Data scrapped)
Share the selectors of delete icon, in material - 267960
Here is the selectors of delete icon -in Item 10 & Material - 267960(Del Icon present)
Here is the selectors of delete icon -in Item 60 & Material - 267960 (Del Icon Not present)
IF there is no Icon then the statusICON[0,0] If there is statusICON [0,1]
accordingly you can build your automation
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 for the guidance @ksrinu070184
its getting true for both scenarios(Del icon present and not present) .
And also i need to check Del icon row after the row.
Oh ok, Then Use Get Attributes Activity and Choose Visibility
Hope you will get some solution with that