Hi everyone Im trying to get data from html but sometimes the object is disabled and sometimes not

  • 26 November 2020
  • 2 replies
  • 9 views

I have an object that I want to know the data inside it (1-8 maybe more)

so I'm using the "get html object text".

  1. if I'm selecting the object when its disabled, and the program running with "not disabled object" it will crash and give some other object.
  2. if I'm selecting the object when its not disabled, and the program running with "disabled object" it will crash and give OBJECT_NOT_FOUND.

 

please help me


2 replies

Hello,

 

You can handle the second scenario using the Fallbacks and add one additional step with selected disabled object.

However, most probably it will be a better solution to build some detection logic for the current state of the object. Could you please share screenshots of both disabled and not disabled objects.

Try to export it to a text file and find a pattern to split to your object.. This could be a way.. I use it...

Reply