im curious how i can check if a ui element contains something or not.
I have (on a Plattform) a search engine for suppliers.
there 2 cases:
1.) i find a supplier --> then i click the supplier with “click activity” (works fine)
2.) i dont find a supplier --> then it shows me nothing, like this (attached picture do below)
So i need case 2 to solve.
If it doesent find anything, then it should return to beginning and take another suppliername to search for.
i tried this:
1.) text exists activity --> gives me boolean value. It trys to get the message whene nothing pops up… not working.
2.) Element Exists: --> gives boolean, but still not working because it sees kinda the uielement itself, but not that it is empty.
3.Get text: --> should get the text i want, then i check in the IF myvar.contains(“message”) = true – not working
Has anybody an idea of how to solve this problem.
Thanks to everybody who supports:)