# Delete test object

**URL:** <https://forum.katalon.com/t/delete-test-object/59327>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [October 20, 2021, 3:09pm UTC](https://forum.katalon.com/t/delete-test-object/59327 "2021-10-20T15:09:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kparekh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kparekh/32/16104_2.png) [@kparekh](https://forum.katalon.com/u/kparekh)\
**Post date:** [October 20, 2021, 3:09pm UTC](https://forum.katalon.com/t/delete-test-object/59327/1 "2021-10-20T15:09:07Z")

</div>

#### Please let us know what you are using Katalon Studio for? -3

1. I’m exploring the tool
2. I’m building a Proof of Concept
3. I have currently applied Katalon Studio in my project
4. I’m learning automated test with Katalon Studio

#### How would your work be affected if this issue has not been resolved? -2

1. It doesn’t affect much, but I believe Katalon team should have this ticket resolved
2. I can continue my job, resolving this ticket can boost my performance
3. I can continue my job, but my performance is lower than expected
4. I cannot continue my job and have to work on something else while awaiting your response

#### Operating System - win10

- For example: Windows 10 or OSX Sierra

#### Katalon Studio Version-8.0.1

#### Katalon Studio logs

- Windows logs folder: \config.metadata.log

- macOS logs folder: file:///Applications/Katalon%20Studio.app/Contents/MacOS/config/.metadata/log

#### Screenshots / Videos

- Please attach screenshots or videos if necessary to reproduce the issue  
The test object is in use. when I click on delete, I choose not to delete.  
 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/1/9/19f71b1dc7eaa20151747b813aba72e838147c03.png)

It is get deleted even I press NO button.

 ![image](https://europe1.discourse-cdn.com/katalon/original/3X/d/3/d3bf9029f61df4f46c1e6595026b0f91cfdff818.png)

#### Environment (for Web testing):

Browser and Browser version- chrome

#### Environment (for Mobile testing):

- Appium version

- Mobile platform/version under test: (for example: iOS 11 or Android 7)

- Real device or emulator/simulator: (for example: iPhone 6s real or Nexus 6 simulator)

- Xcode version (for iOS): (for example: Xcode 8 or Xcode 11)

- Appium Logs: .appium

- Application file (.apk/.ipa): (if possible)

#### Steps to reproduce:

Please include an SSCCE (Short, Self Contained, Correct [compilable] example) description [http://sscce.org/](http://sscce.org/)

If it’s not possible to provide the web page link (for web), please consider creating a reproducible page on [https://jsfiddle.net/](https://jsfiddle.net/)

Please also provide your test scripts if possible.

#### Expected Behavior:

Should not delete test object if user clicks NO.

#### Actual Behavior:

It delete the test object , no matter press yes or no.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [October 21, 2021, 1:05am UTC](https://forum.katalon.com/t/delete-test-object/59327/2 "2021-10-21T01:05:52Z")

</div>

I am afraid, you have a misunderstanding.

 ![toolate](https://europe1.discourse-cdn.com/katalon/original/3X/c/4/c477d3995cddfe9d198f86c3e35f7014bcae73b7.png)

Please read the message:

> “Do you want to remove all the reference(s)? Yes/No/Cancel”

At this timing, **the test object has already been deleted**.

Katalon Studio then asked you if it should automatically edit the test case scripts which were referring to the deleted test object so that it removes the every references in the script to make them tidy.

The Test Object has already gone. Too late to say “come back!”.

---

<div class="post-metadata">

**Author:** ![kparekh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kparekh/32/16104_2.png) [@kparekh](https://forum.katalon.com/u/kparekh)\
**Post date:** [October 21, 2021, 8:11pm UTC](https://forum.katalon.com/t/delete-test-object/59327/3 "2021-10-21T20:11:21Z")

</div>

This means when I click delete , the test object is deleted without asking confirmation.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [October 22, 2021, 12:33am UTC](https://forum.katalon.com/t/delete-test-object/59327/4 "2021-10-22T00:33:59Z")

</div>

In my project, I selected a Test Object and selected the menu “Delete it”

 ![スクリーンショット 2021-10-22 9.28.03](https://europe1.discourse-cdn.com/katalon/original/3X/8/a/8ac7cd802f891782c58a6ed994b979aa5806fab7.jpeg)

then Katalon Studio asked me to confirm if I really want to:

 ![スクリーンショット 2021-10-22 9.28.16](https://europe1.discourse-cdn.com/katalon/original/3X/6/3/6386cce4336217b5d07a5aa0e15a3a0a6393ac52.jpeg)

> [@kparekh](#):
>
> the test object is deleted without asking confirmation.

I don’t think it is the case.

---

<div class="post-metadata">

**Author:** ![kparekh](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kparekh/32/16104_2.png) [@kparekh](https://forum.katalon.com/u/kparekh)\
**Post date:** [October 22, 2021, 1:45pm UTC](https://forum.katalon.com/t/delete-test-object/59327/5 "2021-10-22T13:45:36Z")

</div>

OK got it. It first delete the object and then let me know it is already applied to other test cases. I hope system shows first which test case are linked with it and then confirm to delete.

---

<div class="post-metadata">

**Author:** ![kazurayam](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/kazurayam/32/333_2.png) [@kazurayam](https://forum.katalon.com/u/kazurayam)\
**Post date:** [October 22, 2021, 2:00pm UTC](https://forum.katalon.com/t/delete-test-object/59327/6 "2021-10-22T14:00:59Z")

</div>

Closed on October 22, 2021, 2:00pm UTC


