How to detect if multiple elements can be found in an HTML page?
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-12-17 09:17 PM
In Blue Prism 5.0.23
How can I check if an element I have spied can be detected more than once in a page?
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-01-18 07:21 PM
If you don't use the HTML path and ID fields, and you don't use Match Index, the interface will trawl through the web page looking for a duplicate element and error if it finds one - you could use exception handling to trap that error and do whatever you need to do.
Not using path or match index etc will slow down the interface a lot - so a better option might be to dynamically use Match Index, incrementing each time as your flow logic looks for duplicates.
