Method1 has one parameter named as "Param1", if Param1 value is equal to 'True', it means execute the below method. Otherwise, skip this method and execute next method 'Method2'.
@Parameters({"Param1"})
public void Method1(String Param1)
{
//Perform Some operations
}
//Method2 has one parameter named as "Param2"
@Parameters({"Param2"})
public void Method2(String Param1)
{
//Perform Some operations
}
For Example: If Param1 value will be true
, it means that method Method1
will be executed. Otherwise, it will skip method Method1
.