Why oh why can't I cut and paste?

Yet another gripe about QTP...Why oh why can't I cut and paste calls to component actions between test cases??

The automation strategy we're using at my firm is a component method.  This is where you build out resuable code modules for basic functions and then link them together within individual test cases with custom script code sprinkled about in a few places within those cases.

However, what annoys me about this is some of those cases may only vary in one or two key code lines..and yet I have to build the cases from scratch each time.

Instead of being able to cut and paste a code snipet like

RunAction "UsefulModule1 [LW_StandardComponents]", oneIteration,

I have to Select Insert>Call to Existing Action> and then select the component and then select the action within that component.  Its just frustrating.  I could build scripts SO much faster if I could copy calls...oh well--I suppose its the nature of the beast...

<back to battling scripts, film at 11>

posted @ Thursday, June 21, 2007 12:32 PM

Print

Comments on this entry:

No comments posted yet.

Your comment:



 (will not be displayed)


 
 
 
 
 

Live Comment Preview:

 
«November»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345