How to use find element without giving selector?

How can i use find element if i want to directly pass the element name and not giving any selector?

1 Like

Hey @Alok_Dwivedi

Sorry, I’m not sure what do you mean by Element name here ?

But you need to pass target element by any of the below props…

nmnithinkrishna_UiPath

  1. Selector - The normal XML target selector we pass by indicating on the element

  2. Element - The UI-Element object variable if you already have any mostly received from other UI-Activities or framed by yourself

Hope this helps

Thanks
#nK

Yes i tried to pass element here but it shown an error. but in my scenario i can’t pass selector. so is there any way to do it?

1 Like

Hey @Alok_Dwivedi

Could you please show how did you pass that element & how it is getting generated ?

Also, I’m unable to understand your scenario… Why do you say you can’t pass the selector. Please explain the use-case to understand.

Thanks
#nK

@Alok_Dwivedi

If your UiElement is giving issue, then try to open in UiExplorer and select your tag which makes the selector dynamic

Still not works then you can have a option instead of Find Element, use Find Image activity

Hope this will help you

Thanks