# Record same instructions for different objecs

**URL:** <https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681>\
**Category:** Feature Request\
**Tags:** feature-request, tracked, katalon-studio\
**Created:** [September 28, 2021, 4:07pm UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681 "2021-09-28T16:07:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chivet](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chivet/32/20694_2.png) [@chivet](https://forum.katalon.com/u/chivet)\
**Post date:** [September 28, 2021, 4:07pm UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681/1 "2021-09-28T16:07:20Z")

</div>

Hello,

I have an html page with 2 same texts. For example:

```
<p>Hello World</p>
<p>Other text</p>
<p>Hello World</p>.

```

I recorded the 2 different texts with the record interface of Katalon Studio.  
But it is recorded two times the same line for the 2 different objects.

So, if i replay the recorded scenario with this page, the test is ok, but in reality, it is not:

```
<p>Hello World</p>
<p>Other text</p>
<p>Hello Everybody</p>.

```

Could you optimize the record?

Thank a lot,  
CH

---

<div class="post-metadata">

**Author:** ![chrisstu](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chrisstu/32/18464_2.png) [@chrisstu](https://forum.katalon.com/u/chrisstu)\
**Post date:** [September 30, 2021, 3:07am UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681/2 "2021-09-30T03:07:57Z")

</div>

Hi Chivet,

Correct me if i’m wrong here, i understand that you have some thing like

Hello World

Other text

Hello World

.

When you record different text, for example:  
Hello World and Other text

it’s record the Hello World 2 times ?

If that is not correct kindly send us a video on the use case.

Chris

---

<div class="post-metadata">

**Author:** ![chivet](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chivet/32/20694_2.png) [@chivet](https://forum.katalon.com/u/chivet)\
**Post date:** [April 4, 2022, 3:12pm UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681/3 "2022-04-04T15:12:19Z")

</div>

Hi,

When I have this:

Hello World

Other text

Hello World

I recorded the test : verify object 1 = “Hello world”, verfiy object 2 = “Other texte”, verify object 3 = “Hello world”.  
In the test saved, i had : verify object 1 = “Hello world”, verfiy object 2 = “Other texte”, verify object 1 = “Hello world”.

Hope this help.  
CH

---

<div class="post-metadata">

**Author:** ![nam.nguyen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/nam.nguyen/32/18640_2.png) [@nam.nguyen](https://forum.katalon.com/u/nam.nguyen)\
**Post date:** [April 26, 2022, 4:40am UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681/4 "2022-04-26T04:40:37Z")

</div>

Hi @chivet,

Could you please provide us with the video you record the test?

Nam Nguyen.

---

<div class="post-metadata">

**Author:** ![chivet](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chivet/32/20694_2.png) [@chivet](https://forum.katalon.com/u/chivet)\
**Post date:** [July 8, 2022, 8:26am UTC](https://forum.katalon.com/t/record-same-instructions-for-different-objecs/58681/5 "2022-07-08T08:26:22Z")

</div>

![capture](https://europe1.discourse-cdn.com/katalon/original/3X/9/b/9bcf7602df3831eba751e1f65272877ad43c7a3a.png)

Hi,

There are 4 identical lines.  
The recorder records 4x the same object when I record the 4 different lines.  
Change the last line in html by “Toto” and run this test : the test will be successed, but it will be wrong.

Best regards.
