Thanks for looking into this, Robert!
I think, by mistake I removed the property of the textNote. textContent is what I'm using.
if(dataTable.Cell(i, 2).TextNode("locnClass").textContent === "Active")
For the string comparison, I use the 'equal' operator as suggested on TestComplete site. but I changed it to what you've suggested. But, I still see this issue of "Process Not Accessible". Please let me know if there's anything else that I'm not doing correctly here.
JavaScript equality operations, == and ===, may lead to incorrect results when comparing values obtained from:
Objects in a tested application,
TestComplete scripting objects (such as aqEnvironment),
COM objects.
For example (but not limited to), when comparing these values to null, undefined or objects.
To avoid issues, use the equal() and strictEqual() functions instead of == and ===.
Thank you
Abhi