While trying to indicate an element on web application, PDF etc, it's throwing me the following exception "Object reference not set to an instance of an object"

While trying to indicate an element on web application, PDF etc, it’s throwing me the following exception “Object reference not set to an instance of an object”

It’s generic, in short, it’s not letting me get selectors for anything.

image

All I am trying to do, is get the selectors to enter data or click on something

Has anybody got into this problem?

Hi @Krithi1 ,

Give a try with below,

Method 1 :
Object repository (You will be able to catch and store the elements from the target site)

Method 2 :
Cv powered activities inside cv screen scope

If neither of the above is working for you

Method 3:

Step 1 : Use a find image activity, indicate the text box or object you want to click on, the output of this activity will be of Uielement type (ElementFound)

Step 2 : Use the variable in which you have configured(ElementFound) as input for click or type into activities (Classic ones). You can find the parameter as element under target in the properties pane.

Note : If classic activities are not visible , navigate to activities pane click on the filter icon and select show classic.

Hope one of the above options helps you out.

Happy automating !!

Thanks
Gautham.