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
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 tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,169)