cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
testasdfasfsafa
Advocate IV
Advocate IV

Challenge with clicking and looping through a web table with a link on each row...

First of all, the new Desktop preview is absolutely awesome!! I can even temporary disable actions (unlike Power Automate). 😉

 

Due to the lack of proper documentation, I have to reach out the community.

 

I'm trying to loop through each item of this web table.

First, I'm trying to "count" the items in the table by using the element .length attribute, but never returns the proper integer value.

Second, I'm trying to click on each link "View Students" to open a new page and capture it's content.  I cannot find a way to tell the mouse click on the next link on the same table....

 

There is got to be a more efficient way of doing this... any advice or recommendation would help me meeting my deadline 🙂

 

InkedWeb Table that gets captured_2.png

 

1 REPLY 1
PetrosF-MSFT
Microsoft
Microsoft

Hi @testasdfasfsafa 

 

You could try iterating through the rows by adding a variable in the CSS selector.

 

For example, you could capture the first couple of elements and review their CSS selectors.

Then identify where you could enter a numerical variable that would increase at each iteration.

 

I hope that helps!

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.

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.

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.

Users online (1,350)