# Capturing WEB elements issue

**URL:** <https://forum.uipath.com/t/capturing-web-elements-issue/266147>\
**Category:** Help\
**Tags:** web, question, studio, uiautomation, activities\
**Created:** [November 1, 2020, 4:49pm UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147 "2020-11-01T16:49:58Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 1, 2020, 4:49pm UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/1 "2020-11-01T16:49:58Z")

</div>

Hi everyone,

I’m trying to automate a web page, meaning that I want to iterate through different lines that are displayed on a single page. How can I identify using UiPath studio, the line items displayed on a webpage.  
For example, on a page I have 4 lines (entry points), and I want to ask the robot to perform a specific action on the 3rd line. I used Recorder, but it doesn’t work because is always identifying the 1st line.

Many thanks!  
//L

---

<div class="post-metadata">

**Author:** ![NIVED\_NAMBIAR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nived_nambiar/32/169066_2.png) [@NIVED\_NAMBIAR](https://forum.uipath.com/u/NIVED_NAMBIAR)\
**Post date:** [November 1, 2020, 5:14pm UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/2 "2020-11-01T17:14:43Z")

</div>

Hi @LisaC can u ealborate ur query with the screenshot of webpage that u are trying to automate?

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 2, 2020, 9:32am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/3 "2020-11-02T09:32:58Z")

</div>

Hi,

Here the screenshot of an example of how the lines are displayed.

 ![Screenshot](https://global.discourse-cdn.com/uipath/original/3X/2/3/23343a316d01e76e581e2070304fd659cb0a38c3.png)

Thanks

---

<div class="post-metadata">

**Author:** ![NIVED\_NAMBIAR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nived_nambiar/32/169066_2.png) [@NIVED\_NAMBIAR](https://forum.uipath.com/u/NIVED_NAMBIAR)\
**Post date:** [November 2, 2020, 9:34am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/4 "2020-11-02T09:34:42Z")

</div>

Is the description\_test is the lines u need @LisaC

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 2, 2020, 9:40am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/5 "2020-11-02T09:40:11Z")

</div>

No, the lines I need are numbered as 10 and 20, in front of them you see that I have that checkmark.  
I want to modify for example the quantity from line 2 (No. 20 in the printscrn), but in order to do that, UiPath needs to identify this line.  
The purpose is to iterate through each line, and I don’t know how to do this, since using recorder it only goes to the first line…

Thx

---

<div class="post-metadata">

**Author:** ![Srini84](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/srini84/32/464032_2.png) [@Srini84](https://forum.uipath.com/u/Srini84)\
**Post date:** [November 2, 2020, 10:04am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/6 "2020-11-02T10:04:45Z")

</div>

@LisaC

Can you share the selectors of Part# in No. 10 & 20

Thanks

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 2, 2020, 10:25am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/7 "2020-11-02T10:25:45Z")

</div>

Hi,

See some screenshots with the selectors behind both lines. Note that I used a type into activity (using recorder for web) just to show you what is behind Part no field as requested.  
tnx.

 ![line10](https://global.discourse-cdn.com/uipath/original/3X/7/7/77f0e2c057a27af7ad24536d6bfa58cbaa2d8885.png) ![line20](https://global.discourse-cdn.com/uipath/original/3X/f/8/f8064e38e25354c348603f826f515c98f6a695fd.png)

---

<div class="post-metadata">

**Author:** ![NIVED\_NAMBIAR](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/nived_nambiar/32/169066_2.png) [@NIVED\_NAMBIAR](https://forum.uipath.com/u/NIVED_NAMBIAR)\
**Post date:** [November 2, 2020, 10:26am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/8 "2020-11-02T10:26:51Z")

</div>

Can u show the uiexplorer part @LisaC

---

<div class="post-metadata">

**Author:** ![Srini84](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/srini84/32/464032_2.png) [@Srini84](https://forum.uipath.com/u/Srini84)\
**Post date:** [November 2, 2020, 10:27am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/9 "2020-11-02T10:27:03Z")

</div>

@LisaC

Can you expand UiExplorer and search which is a Unique element

according to that you can able to differentiate

Hope this helps you

Thanks

---

<div class="post-metadata">

**Author:** ![seanrockvz13](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/seanrockvz13/32/182751_2.png) [@seanrockvz13](https://forum.uipath.com/u/seanrockvz13)\
**Post date:** [November 2, 2020, 10:28am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/10 "2020-11-02T10:28:58Z")

</div>

> [@LisaC](#):
>
> creenshot of an example o

Ideally @LisaC you should have a specifi selector for each line. What we would need to do is we need to assign a “variable” in replacement to the value of the selector. This will allow you to go through one line accordingly.

---

<div class="post-metadata">

**Author:** ![seanrockvz13](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/seanrockvz13/32/182751_2.png) [@seanrockvz13](https://forum.uipath.com/u/seanrockvz13)\
**Post date:** [November 2, 2020, 10:29am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/11 "2020-11-02T10:29:35Z")

</div>

Are you able to open this in UiExplorer instead?

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 3, 2020, 7:22am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/12 "2020-11-03T07:22:54Z")

</div>

Thanks Sean,  
I managed to assign the variable and replaced the selector with it. Now it works.

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 3, 2020, 7:24am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/13 "2020-11-03T07:24:16Z")

</div>

Hi ,

Thanks, it works now . I found the unique element which helped me .

---

<div class="post-metadata">

**Author:** ![seanrockvz13](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/seanrockvz13/32/182751_2.png) [@seanrockvz13](https://forum.uipath.com/u/seanrockvz13)\
**Post date:** [November 3, 2020, 11:22am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/14 "2020-11-03T11:22:56Z")

</div>

Cool Cool! Glad it worked

---

<div class="post-metadata">

**Author:** ![LisaC](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/lisac/32/178114_2.png) [@LisaC](https://forum.uipath.com/u/LisaC)\
**Post date:** [November 4, 2020, 7:24am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/15 "2020-11-04T07:24:57Z")

</div>

Hello,

I’m still having problems with this WEB page automation. I thought it works but in fact I noticed that I have a problem with an “if” condition.  
I’m trying to do a cross check between the value from an excel file and the one from the web page (line number 10 - from the above screenshot).  
Even the value from the webpage is exactly the same with the one from my excel , when I run the project, it is saying that there is no match between them.  
Any idea why is this happening? Thanks.

 ![RowItem](https://global.discourse-cdn.com/uipath/original/3X/9/6/966ea1d65f18feefacbffd16bcb41b6ce473ea88.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/system/32/182466_2.png) [@system](https://forum.uipath.com/u/system)\
**Post date:** [November 7, 2020, 7:25am UTC](https://forum.uipath.com/t/capturing-web-elements-issue/266147/16 "2020-11-07T07:25:03Z")

</div>

Closed on November 7, 2020, 7:25am UTC

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.
