This question already has an answer here:
How I can check whether a string contains a text in JavaScript? I have tried it with contain but not working.
SuiteName= VarToString(Excel.Cells.Item(x, 1));
ExecutionStatus= VarToString(Excel.Cells.Item(x, 3));
if(ExecutionStatus.contain("yes"))
{
Log.Message("Need to execute this test case- "+ SuiteName)
}
Aucun commentaire:
Enregistrer un commentaire