Forum Discussion
jose_pita
12 years agoSuper Contributor
This is what i'd use in order to find the object and click it (my code is in javascript, that syntax in the fullName does not seem like javascript, maybe Tanya can help you with that):
function clickMyObject(propertyName, propertyValue, depth)
{
Sys.Process("MainApp").Find(propertyName, propertyValue, depth).click();
}
function myTest()
{
clickMyObject("ObjectIdentifier", "BtnAccess", 10)
clickMyObject("ObjectIdentifier", "AlarmsList1", 20)
}