IF problems with dynamic pages..!

Here’s how I determine.

GET TEXT → SELECTOR
image

→ If “folder3” is not present, an error will occur and will be moved to ELSE in IF.

“Folder2” is still there, so “folder3” is causing an error, is there any other good way?

My method is very slow because I’m waiting for an error.

@CK_CHECK

You can try using element exists with timeout of 10 seconds or so so that it exists smoothly and if not found then it moves to next step after 10 seconds

cheers

@Anil_G


:smiling_face_with_tear:

@CK_CHECK

The error says ypu are trying to convert some string variable to boolean…

Can you show where you are getting this and what you are trying

Cheers

@CK_CHECK

str_**** is of type uielement…it is not a string type…

if you want to check empty on a uielment type try like this

Isnothing(VAriable)

And you dont need any assign activity

cheers

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.