Automatic Test Script Template in UFT 12.5x

  • Questions
  • Automatic Test Script Template in UFT 12.5x
Question ID: 106549
1
0

With QTP 11 we could have a test script template automatically load when we started a new test. Is this possible with UFT 12.5x?

Marked as spam
Posted by (Questions: 344, Answers: 24)
Asked on December 21, 2015 5:49 pm
10 views
Answers (2)
1
Private answer

Yes, you can still do this. The procedure is the same as previous versions. Per the User Guide:

Create an action template
1. Create a text file containing the comments, function calls, and other statements that you want to
include in your action template. The text file must be in the structure and format used in the
Editor.
2. Save the text file as ActionTemplate.mst in your dat folder. All
new actions you create contain the script lines from the action template.
Note: Only the file name ActionTemplate.mst is recognized as an action template.

Marked as spam
Posted by (Questions: 16, Answers: 754)
Answered on December 21, 2015 5:49 pm
Great thanks!
( at December 21, 2015 5:51 pm)
0
Private answer

Hi @Michaeldx,
Thanks for your helpful reply on default action template.
I want some information on the default code/lines that uses the manual test case steps which are present in UFT action when we convert a manual test case to QUICK_TEST. Like for QTP, can we edit this as well? If so, is that present in /Templates folder?
We work on client provided virtual machines and i tried to locate this template(Template10), but i was not able to find it.
Thank you in advance.
Naren

Marked as spam
Posted by (Questions: 0, Answers: 2)
Answered on June 1, 2016 6:28 pm
The process to convert a manual test to a UFT test is hard-coded in ALM. It draws some information from the manual test steps, but the other information it contains is hard-coded and can not be changed until after conversion.
( at June 3, 2016 2:52 pm)