Ask a Question

Run selective test groups using javascript code

Adagio
Frequent Contributor

Run selective test groups using javascript code

Hello,

 

I'm trying to find out ways to run the test groups thru a piece of code rather than running it by clicking 'Run Focused Item' icon.

Based on some conditions, I'd want to run only some Test groups. 

 

For sample, Here's the screenshot of  the Test Groups.

 

 

 

UsrForm.PNG

 

Thank you

Abhi

2 REPLIES 2
NisHera
Valued Contributor

What you could try is command line utility in test complete.

Though it seems bit complex at beginning once you prepare one line correctly, you could do bend it for many situation.

 

But when you decide which test to run at run time, you have to write code for it.

You can call each script in that main driver script or use project Item run method.

cancel
Showing results for 
Search instead for 
Did you mean: