I assigned an object to variable "abc" in function.vbs script
I have a test named "Action1" where I have a function named xyz().
function.vbs is associated with test "Action1".
Running the test throws an error "object doesn't support this property or method"
If I use single extension, it works fine
abc.JavaMenu("title:=file").select
If I use more than one extension to object throw an error "object doesn't support this property or method"
abc.JavaMenu("title:=file").JavaMenu("title:=view").select
Set abc = JavaWindow("title:=test")
Function xyz()
abc.JavaMenu("title:=file").JavaMenu("title:=view").select
End Function