Skip to main content
Solved

Unable to capture object


Forum|alt.badge.img

I am using Community edition and previously captured a specific portion of a website using the Object (auto-detect) feature, with the technology type set to HTML. However, when I attempt to capture the same portion again using the same technology, it now captures the entire box instead of just the specific portion. Why is this happening? Has anyone else encountered this issue?

Earlier i was able to capture the particular text as shown in the image

 

Now When i am capturing whole box is getting captured and not the particular text in the box

 

Best answer by jon.stueveapeople

It appears that this is a dynamic page, and the information (even on the same account) is subject to change each time you access the page, when that happens, the DOMXPath and Path values change, which makes your original capture no longer valid, and the technology can’t find the object.

Examine the object properties on repeated access to the page and see if you can spot a pattern, or a unique id for the object, as the DOMXpath or Path isn’t static. It might be possible to use a wildcard, but you’d want to do more testing to see how the values of the properties change.

View original
Did this topic help answer your question?

2 replies

jon.stueveapeople
Automation Anywhere Team
Forum|alt.badge.img+7
  • Automation Anywhere Team
  • 109 replies
  • Answer
  • June 7, 2024

It appears that this is a dynamic page, and the information (even on the same account) is subject to change each time you access the page, when that happens, the DOMXPath and Path values change, which makes your original capture no longer valid, and the technology can’t find the object.

Examine the object properties on repeated access to the page and see if you can spot a pattern, or a unique id for the object, as the DOMXpath or Path isn’t static. It might be possible to use a wildcard, but you’d want to do more testing to see how the values of the properties change.


Forum|alt.badge.img+1
  • Cadet | Tier 2
  • 1 reply
  • June 10, 2024

nice question with a great answer it helps mee too.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings