| || |
Menuitem ending with ... file in new JavaStar
I have been receiving guinotfoundexception messages for dialogs brought up from a menuitem ending with .... I have started using an older version of JavaStar from February that gets me over this problem, but will leave me testing a product in an old JDK. Any help?
Re: Menuitem ending with ... file in new JavaStar
Several suggestions for several possible scenarios:
#1 - the dialog isn't showing up yet before your call that references it. Try adding a "JS.delay( 1000 );" call [ this waits 1 sec ]
#2 - the dialog isn't being found because it's title is not exactly the same as the specifier in the JS call. Try using "JS.dialogRE( "known text .*" );" instead of the "JS.dialog( "exact text" );
#3 - try recording a script that invokes the dialog via menu item ( with ... ). Compare the resulting recording with the scripts you are running that fail. Maybe that will show you what's wrong.
Hope this helps,
mark young - software engineer