When i try to identify the YUItree view its not getting identified
Tried identifying using YUI addin by installing web2extensiblity

Please see the below code.
When ran the script:

Browser("title:sample").Page("title:sample").YUITr ee("ygtv0").Expand "States"

Getting error:

"An error occurred while running the Web extensibility handler for the 'Expand' method
Error details:
File: c:\program files\hp\quicktest professional\dat\extensibility\web\toolkits\yahoou i\javascript\yuitree.js
Line: 446
Description: Object doesn't support this property or method"

what needs to be done to overcome this issue