Selector doesn't work when text is on field

Well, this is something weird:

I have a field where I have been working on where if it’s empty, it writes some text, and if it has some text, it just adds it to the start of the string, kinda like this

str = “input text /”

So the field could be input text / input text / input text /

And this worked yesterday. Today it doesn’t work.

The selector goes like this:

"ClassName": "ThunderRT6TextBox",
"Name": "*",
"ControlType": "Document",
"AutomationId": "41"

But this only works IF there is text in the field. If it’s empty I just delete the “Name”: “*”, bit.

But it doesn’t work if there is no text there. This is the same selector I tried yesterday. Everything else works fine. Is there any way to overcome this?

More importantly, why was this working perfectly until now?

Since this is a common occurrence with the Application I am working on, I could set different get elements with different selectors, right?

And every instance of the Get Element would create the same OutArgument that I can validate in an If statement, right?

I’ve been trying to make an if statement that evaluates for the argument with different Get Elements, but still doesn’t type the info into the field.

My question is, if I use different Get Elements to check the state of a field, inside every Get Element should I put the sequence that writes the field? I really thought I could do it outside them, but it seems it doesn’t work like that.

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