cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic web address attribute

MackenzieDecarn
Level 2
Hi everyone im quite new to using BP and am trying to make a bot to log in to my gmail

I keep getting this error when navigating to the password page 

No element matched query items

I know its because the Password element has a web address attribute that changes the last 10 characters everytime it launches but I dont know how to use Regex/dynamic attribute to solve it

33675.png

------------------------------
Mukunda Murali
------------------------------
1 BEST ANSWER

Helpful Answers

Hi Mackenzie,

Have you tried just using the attributes: 'Match Index', 'Web Element Type' and 'Web Name'

33664.pngCouple of Quick Notes:

- Always ensure you do not select blank attributes in your element's attribute list.
- Try to avoid using attribute which can really change dynamically. With regular expressions and wildcards there are only a a number of scenarios which you would be able to handle. If there is no need of using such attributes, best approach would be to avoid them altogether.
- Use of Match Index attributes always help whenever similar type of elements can occur in your automation.



------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

View answer in original post

4 REPLIES 4

Hi Mackenzie,

Have you tried just using the attributes: 'Match Index', 'Web Element Type' and 'Web Name'

33664.pngCouple of Quick Notes:

- Always ensure you do not select blank attributes in your element's attribute list.
- Try to avoid using attribute which can really change dynamically. With regular expressions and wildcards there are only a a number of scenarios which you would be able to handle. If there is no need of using such attributes, best approach would be to avoid them altogether.
- Use of Match Index attributes always help whenever similar type of elements can occur in your automation.



------------------------------
----------------------------------
Hope it helps you out and if my solution resolves your query, then please mark it as the 'Best Answer' so that the others members in the community having similar problem statement can track the answer easily in future

Regards,
Devneet Mohanty
Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,
WonderBotz India Pvt. Ltd.
Blue Prism Community MVP | Blue Prism 7x Certified Professional
Website: https://devneet.github.io/
Email: devneetmohanty07@gmail.com

----------------------------------
------------------------------
---------------------------------------------------------------------------------------------------------------------------------------
Hope this helps you out and if so, please mark the current thread as the 'Answer', so others can refer to the same for reference in future.
Regards,
Devneet Mohanty,
SS&C Blueprism Community MVP 2024,
Automation Architect,
Wonderbotz India Pvt. Ltd.

Yup that worked like a charm!
Thank you so much Devneet I know it was probably a beginner question but it was something I was quite frustrated being stuck on thanks for your help:)

------------------------------
Mackenzie Decarna
------------------------------

Also when I use a navigate option to click the 'Next' button, it worked a few times but suddenly seems to be crashing even though the application modeler still recognizes the element, do you know why this is? 

I browsed for similar issues and was told to use this setting 'Use fixed browser extension port (31924) only' but I cant seem to find it on BluePrism 7.1

------------------------------
Mackenzie Decarna
------------------------------

Hello Mackenzie- Please can you share the attribute selection for Next Button.

also, Fixed port option/feature has been removed in BP version 7 and above. Native messaging host is new way to dynamically allocate port to you browser.

------------------------------
Neeraj Kumar
Technical Architect
------------------------------