I need to verify a warning message in TestComplete that has multiple lines for it's innerText property. The innerText looks like this:
FirstLineSecondLine
To do that, I thought using \n would be able to represent the end lines
if(warningMessage.innerText =="First Line\n\n\n\nSecond Line")Log.Checkpoint("Pass");elseLog.Error("Fail");
But it failed. How can I verify this warning message?