Forum Discussion
chicks
Regular Contributor
This is javascript but I'm sure you can do the equivalent....
CheckEquals( displayeRetailerId, expectedRetailerID, "retailerID" );
function CheckEquals(aValue1, aValue2, aDescription) {
// Log.Message ("one: "+aValue1 + " two: "+ aValue2);
if (aValue1 != aValue2) {
Log.Error(aDescription + " '" + aValue1 + "' does NOT match value '" + aValue2+"'");
Log.Message("string 1 in additional info.", aValue1);
}
else {
Log.Checkpoint(aDescription + " '" + aValue1 + " matches value '"+ aValue2+ "'");
}
}
CheckEquals( displayeRetailerId, expectedRetailerID, "retailerID" );
function CheckEquals(aValue1, aValue2, aDescription) {
// Log.Message ("one: "+aValue1 + " two: "+ aValue2);
if (aValue1 != aValue2) {
Log.Error(aDescription + " '" + aValue1 + "' does NOT match value '" + aValue2+"'");
Log.Message("string 1 in additional info.", aValue1);
}
else {
Log.Checkpoint(aDescription + " '" + aValue1 + " matches value '"+ aValue2+ "'");
}
}
cunderw
7 years agoCommunity Hero
mcp111 See my response in your other thread: https://community.smartbear.com/t5/TestComplete-General-Discussions/Can-anybody-explain-this-tooltip-script/m-p/168145#M31108
Related Content
- 2 years ago
- 5 years ago