Reusable actions missing after upgrading. UFT

  • Questions
  • Reusable actions missing after upgrading. UFT
Question ID: 105426
1
0

I just upgraded and all of my reusable actions are not in the test after upgrade from QTP to UFT

Marked as spam
Posted by (Questions: 63, Answers: 1)
Asked on May 28, 2014 8:47 pm
143 views
Answers (1)
2
Private answer

When you are at QTP did you use variables to launch the actions? If so that is not recommend by HP Help guide for QTP 11 and UFT 11.5x( Object Model Reference for GUI Testing > Utility Objects > Utility Statements > RunAction Statement).

Here is clipping from both guides that reference this issue.

----------
Note: You must specify the action name explicitly on the statement. Do not use a variable. For example, write:

RunAction=''Action1[ExternalTest]''

and not:

aName=''Action1[ExternalTest]''
RunAction aName

----------

Recommend changing your code to not use variables.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on May 28, 2014 8:51 pm
The code is using QTP as a driver script to run an Excel spread sheet. Does that mean I will have to re write my driver script?
( at May 29, 2014 5:54 pm)
bubblehead712 is right. HP does not support or recommend using those types of frameworks, and neither do their professional support partners. These types of frameworks are extremely time consuming to build, troubleshoot and maintain. If the people that built it leave the company, it is very difficult for others to learn it to continue the work or maintain it. I STRONGLY discourage using this type of framework.
( at May 29, 2014 6:10 pm)
That's the risky part about frameworks. Anytime you use them, there is the possibility of having everything yanked out from under when a new version of UFT comes out. You have to expect a 'reset' of things which can lead to a maintenance headache!
( at May 29, 2014 6:46 pm)
EyeOnTesting