Micro Focus QTP (UFT) Forums
Inserting action - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Inserting action (/Thread-Inserting-action)



Inserting action - Revathy - 08-07-2010

hi all


plz help

I created two tests test1 and test2,both tests had one action each,now i need to set the action in test2 as first action and action in test1 as second action,how will i do it?

be thankful for hepl
Revathy


RE: Inserting action - venkatbatchu - 08-07-2010

Hi Revathy,

As you were saying you have two tests test1 and test2 and each has one action.

Solution:

1.Create a New Test
2. Insert an action from the test1 for that you can use either Insert Call to Copy of an action OR Insert Call to Existing action.
3. Insert an action from the test2 for that you can use either Insert Call to Copy of an action OR Insert Call to Existing action
4. Finally u will have test1 action and test2 action as like in the below code
Code:
Runaction "Copyoftest1action","OneIteration"
Runaction "Copyoftest2action","OneIteration"


Please let me know for further clarification.

Venkat.Batchu