Posted: 25 Oct 2017 5:45 EDT Last activity: 6 Nov 2018 20:02 EST
Issues in Interrogating & Automating Java Swing Application(The Process javaw.exe failed to start within given timeframe)
Am facing an issue in interrogating & automating java swing application(which is launched through .bat file) Actually in adapter(windows application) properties, I have specified the path of java swing application(.bat file) in path & java runtime files(javaw.exe) in Target Path ,specified StartAndWait as StartMethod ,after that whenever I click on start interrogation application is getting launched but interrogation form is not coming & also it throws the error saying "The Process javaw.exe failed to start within given timeframe".However I tried out changing Hookchildprocess to true & false ,Javainvoketimeout & idle timeout but is of no use. only Sometimes interrogation form is coming & able to interrogate the controls ,but for Some controls like(virtual menu bar & menu items ) there is no focus & enable events & performclick is not working for this kind of controls. Please kindly provide some resolution steps to avoid this issues.