cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bradt30h
Helper II
Helper II

Populate text without selecting UI element

Hi All,

I used send key i.e. {tab} to move around in my website, is it possible to populate the field I shifted without selecting its UI element?

The reason for me not using the UI element is because the website html table is difficult to iterate. 

 

Thanks for reading!

3 REPLIES 3
John_Mavridis
Microsoft
Microsoft

Hi there,

In order to use web automation actions, it is necessary to select the proper web UI elements and work with their respective CSS selectors. This ensures that the elements can be interacted with in the background, without needing to focus any browser window or send any actual mouse click or key.

 

In the scenario you describe, if you want to completely avoid using UI elements, you could continue using the 'Send keys' action to navigate around the website and populate any text field you need.

 

Please, keep in mind that even if the HTML code of the page is challenging to handle, you can always edit the selectors of your UI elements to make them more dynamic and adjust them as needed.

Thanks for your reply, John!

Send keys don't work with %Variable%. Hence this is not a viable option for me either.

 

Is there any guide available on making UI elements more dynamic? 

The difficulty I face is to populate HTML table based on the column header, then go to the next row until it ends.

'Send keys' do work with variables.

If it's not working, be sure you're focusing window before sending keys and the field is properly selected with tab or edit mode (sometimes you have to use tab to get to the field and then send F2, for example, to edit it). 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (1,986)