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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

AI Builder AMA June 7th carousel (up on May 25th, take down June 8th) (1).png

'Ask Microsoft Anything' about AI Builder!

The AI Builder team invite you to ask questions and provide helpful answers at our next AMA.

Users online (1,669)