KB1
2 years agoChampion Level 2
ClickItem is not a function
Hello,
I've been doing scripting tests for a while now..
Now I ran up to this problem with the ClickItem();
It says that it is not a function but I configured it the same way as I always do.
What is wrong with my code?
I've noticed you are using FindElements(), which returns a list of objects. As opposed to FindElement(), which returns an object. Also, since the item has changed from "select" to "manage" - I think the id has changed?
If you want to see whether your statement is correct in picking the correct UI object, then try highlighting it
function test() { var roleACL = frame.FindElement(...); if (roleACL.Exists) { Sys.HighlightObject(roleACL); } }