cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MakeitAuto
New Member

Webpage has two forms with the same name hidden behind accordions..can't target the second form

HI all,

 

I'm just starting to learn Power Automate to help my organization with testing.

 

I am trying to populate a form with text which usually seems straight forward.

 

Unfortunately, there are identical forms on the page with the same name (see images)

 

Whenever I try to populate the second form (even with the accordion closed). The search field in the 'Full Access' tab is populated.

 

I have manually added the field etc and since they are named the same I assume that's the issue.

 

I even tried working around it by using move mouse to image but I get 'Image not found'.

 

Any tips? (sadly I don't have the ability to change the html / naming etc as it is a vendor provided website)

 

forms.pngfull.pngsendas.png

 

Element is listed like this:

 

<input id="searchBox" type="text" class="form-control ng-pristine ng-untouched ng-valid ng-empty" placeholder="textboxtext" ng-model="searchTerm" csb-enter="filter.doFilteredSearch()">

 

Thank you

M

1 ACCEPTED SOLUTION

Accepted Solutions
VJR
Super User
Super User

Hi @MakeitAuto 

 

If the text boxes have the exact same attributes then try ticking the ordinal attribute in the selectors and then increasing its value (play around with the values).

 

If that doesnt work then click or place the focus on the 2nd Name box and then hit a TAB via sendkeys to go to the 2nd Search box.

 

 

View solution in original post

6 REPLIES 6
VJR
Super User
Super User

Hi @MakeitAuto 

 

If the text boxes have the exact same attributes then try ticking the ordinal attribute in the selectors and then increasing its value (play around with the values).

 

If that doesnt work then click or place the focus on the 2nd Name box and then hit a TAB via sendkeys to go to the 2nd Search box.

 

 

Henrik_M
Dual Super User
Dual Super User

Can you post the full HTML code?

VJR
Super User
Super User

Which html code are you referring to @Henrik_M 

I do not have webpage you are trying to access so cannot post that.

Henrik_M
Dual Super User
Dual Super User

The code from OP's web page problem 🥰

VJR
Super User
Super User

@Henrik_M , sorry I thought you were the OP and was not sure why were you asking the html code ..😀

so lets wait to hear back from @MakeitAuto 

MakeitAuto
New Member

Cheers, the tab option was going to be my original solution but I couldn't get them to work.

Since I have changed to MS Edge key sends work so I will go with that solution... Thank you!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (4,301)