Ask a Question

Copy´n´paste keywordtests?

SOLVED
ml
Contributor

Copy´n´paste keywordtests?

Hey all,

is it possible to create new keywordtests out of existing ones?

I need to make a bunch of new keywordtests and i dont want to create them all by hand, easier would be to copy existing tests and just changing some objects/variables afterwards. How can i archive this? Does anyone know?

 

Greetz

viva la software ergonomica!
4 REPLIES 4
vinniew
Staff

Hi @ml 

 

Within a project this is easy. 

 

You can click on your specific keyword test. 

 

Select the line or all the items in your keyword test, to copy> right click copy and then paste into you new test. 

 

TestComplete supports keyboard shortcuts too (ctrl c + ctrl p) 

 

Kr 

 

Vinnie

Hey Vinnie,

i want to copy a large bunch of Keywordtests with its items.

 

Keywordtest_A -> Keywordtest_A1

Keywordtest_B -> Keywordtest_B1

Keywordtest_C -> Keywordtest_C1

viva la software ergonomica!

Hey @ml 

 

Yeah thats doable following my approach. 

 

rather than selecting just one line you would select all , copy from Keywordtest_A and then paste into  Keywordtest_A1

 

KR

Vinnie

ml
Contributor

I found a solution:

- copy the files in windows file explorer 

- mass rename them with Visual Studio Code find & replace for files

- add them into TestComplete via Project Explorer -> Add -> Existing items

viva la software ergonomica!
cancel
Showing results for 
Search instead for 
Did you mean: