Dear @newuserkantu
The xpath in this is not quite good. It doesn’t show the text in side.
Actually, I want to verify if the tags field is empty, if it’s empty, the loop will go back to fill it.
I’m trying this:
So in this case, when the requirements are satisfied, x would be turned into check, while the source code wil be changed from fa fas fa-times into fa fas fa-check.
So all I have to do is to count the number of fa fas fa-check of the tags section.
If the result is 0, then it’s unchecked, and the loop command will go back to do it all again, until it’s 1. For more details, down here is the code:
label | label1 |
[Here is where you put the commands so it will meet the requirements]
In the code up there, the code is gonna break down like this: regex=/the source code you are trying to count/i
It has to be like this. I’m not familiar with programming basic knowledge but more of a copycat person, so I don’t really know how to explain it for you guys to truly understand this. I just know that it’ll work.