Selector works when static but doesnt work when dynamic(Variable)

Hi, I have a problem here. i am working on a web automation (Javascript) my selector works when it is static. if i however attempt to make it dynamic, it fails to work.

The first picture works and the second picture does not work

I would really appreciate a solution.

Thank you

image

image

1 Like

Hi @Ayodeji_Osikoya

  • You can run the process and check it. because it will validate only in the execution time.

Regards
Gokul

It didnt work. I have tried it multiple times. here is the error

Hello,

Try to use * for Parentid.

image

Cheers @Ayodeji_Osikoya

@Ayodeji_Osikoya

You are passing Sep 2021?

Check if that is in the list? also check that it is visible

Can you share the element screenshot?

Thanks

It does work.

But Iā€™m trying to get last four months. September,August, July and June

How would that work?

its in the list.

@Ayodeji_Osikoya

Can you share the screenshot of the element with the list?

Is it a dropdown or how it is look like?

Thanks

here is it. thank you

Actually your variable LastMonth in selector is rightly passed

Is value mentioned correctly to that varivale

Pls check that
@Ayodeji_Osikoya

1 Like

Thank you @Srini84 . i used type into and used the variable and it perfectly worked

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