sakorn_s
12 years agoOccasional Contributor
Checkpoint can use ".*"
Ex.
var data = table.rows.item(1).cells.item(1);
//data.textContent = 3 KB
i can use code in below?
var res = aqObject.CheckProperty(data, "textContent", cmpEqual, "3.*")
Hi Sakorn.
You should use aqObject.CheckProperty(data, "textContent", cmpMatches, "3 (.)*") to achieve this checkpoint.
You should also look for regular expression.
Regards,
Guillaume.