Forum Discussion

Haiyangwhu's avatar
Haiyangwhu
Contributor
9 years ago

Window Object, Java Object?

Hi,

 

There is a popup dialog, for a control on the dialog, i expect its fullname is Sys.Process("adminconsole").SWTObject("Shell", "Authentication").SWTObject("Composite", ""), but sometimes i get the fullname during test run, which will lead test to fail:

Sys.Process("adminconsole").SWTObject("Shell", "Authentication").Window("SWT_Window0", "", 1),the control is not recognized as Java object.

Is there a way to resolve such control recognition issue?

 

Thanks,

Ocean