After renaming UFT actions, name is not updated in the call to the action

Category:
Question ID: 109989
1
0

When we rename a reusable action, it does not change the name in tests that call it.

Steps to reproduce:

Create a UFT test and create reusable action “Action1”
Create another UFT test that calls the existing “Action1”
Rename “Action1” to “NewAction” in the original UFT test

The second UFT test still has the action named “Action1” in the folder “External Action”

Since we had to rename every action to follow the new naming convention (31 characters and no square brackets) it is very confusing to still have the old action names in our tests.
https://admhelp.microfocus.com/uft/en/15.0-15.0.2/UFT_Help/Content/WhatsNew/whats-new-15.0.htm#mt-item-3

How can we force the tests to use the new names?

Marked as spam
Posted by (Questions: 361, Answers: 39)
Asked on January 19, 2021 6:02 pm
8 views
Answers (1)
1
Private answer

Unfortunately, the external action name is not changed in the calling Tests. To get the new name, you have to delete the calls from the calling test and then save it. After that you can call the external action again to get the new name.

Marked as spam
Posted by (Questions: 16, Answers: 772)
Answered on January 19, 2021 6:03 pm
That's a bummer, I was hoping there was an automatic way to do it.
( at January 19, 2021 6:06 pm)