-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Not A Bug
-
Affects Version/s: 10.10
-
Fix Version/s: None
-
Component/s: Automation
-
Tags:
In automation script:
Console.log(currentUser);
throws the error:
java.lang.UnsupportedOperationException: Operation not supported.
However I can do:
Console.log(typeof(currentUser)) which outputs 'object'
Console.log(currentUser.name) which outputs my user id e.g. Administrator