Dynamic Selector Activity Problem!

Click activity can’t find the element that i indicated ???

Strange thing is that ‘Check App State’ can see the element but selector(btw its dynamic) can not click it!

image

:thinking:

@170290064 give default value in variable and then check it. Give default value in"in_strBrand" variable

@Srini84 I gave default value and tried different ways and many times but it didnt work anyway.

@170290064

Is the click failing or is it moving without any error?

and in click are you suing simulate or hardware click?

check app state can work in background also and if click is given as hardware click then it might fail

cheers

@170290064

When you pass the variable to an Selector that means variables will initialize at RunTime, that’s why you are seeing as not validate

But you can pass a default value so that you can test

Hope this may help you

Thanks,
Srini

1 Like

Hi @170290064

It’s showing that the variable that you are passing is not defined in the scope. Check that once by re-defining or passing the variable in the selector again.

Hope it helps.

1 Like

@170290064

Can you try with simulate…

also the selector photos you gave look different in two pictures

also can you confirm if you are getting error or is it just not clicking an moving ahead?

cheers

1 Like

It worked but why ???

Is it because of input mode :thinking:

@170290064 what is the exact error?
can you check variable value before check up satate? .
print it before check up state.

1 Like

Thanks a lot!

It solved by @Anil_G

It was about the input mode (hardware events, simulate and so on)

1 Like

@170290064
Chromium API purpose:
image

1 Like

Thanks for the information :+1:

@170290064 welcome. Happy Automation

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