Forum Discussion
NisHera
7 years agoValued Contributor
You can go to project/ Events / general event and click on OnStartTest event and press new button
It will create a function like
function GeneralEvents_OnStartTest(Sender)
{
}
could be saved where ever you like.
I assume you already have that and you do something in this function.
the trick would be using a if condition....like
if (Project.TestItems.Current.Name == "FirstTestItem")
{ // Do nothing
null;
}
else
{
// Do my usual stuff
}
- MegO7 years agoContributor
I managed this with:
if (Project.TestItems.Current != null) { //on start test stuff } else { null; }