Why my element activity always show false value?
@Kelvin1 is it element exist activity ?.check the selector and make sure the element is present on the screen
Hello @Kelvin1
Can you share a screenshot and explain which activities is not giving the proper output and the element you are trying to check?
In the modern activities you can use Check App state activity.
Thanks
Hi @Kelvin1
Have you tried with Image exist activity? Can you tell us more detail about the webpage , what are you trying to check some thing like this
Regards
Gokul
Hi @Rahul_Unnikrishnan @Gokul001 @sangeethaneelavannan1 so im using for each activity for looping and inside that for each i have if statement for that element exist. Where should i put my element exist? inside the for each or outside or both are same?
Hi @Kelvin1
You can try to put element exist activity Inside or Outside the for each. Based on where you need to identified the element in the page.
Regards
Gokul
Put element exists inside for each activity if you need to check for each iteration
where you need to keep the element exists is totally based on the requirement.
Suppose if you are looping through some list and you need to check whether those element present in the screen, then you have to keep the element exist inside the for loop and in another case if the loop should work based on the element exist, then you have to keep it outside.
As in the image also you can give the condition.
Hi @sangeethaneelavannan1 @Rahul_Unnikrishnan ah i see, i thought i dont need put that element exist in for each if i want to check for each iteration because i already put if activity in for each. Thank u
@Kelvin1 it’s based on the change of image while you are iterating for each element
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.