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 menubar & menu items ) there is no focus & enable events & performclick is not working for this kind of controls.
Could you please guide me if u faced this issue in launching Swing application.
Posted: 4 years ago
Posted: 31 Aug 2016 10:36 EDT
Chunzhi Hong (Chunzhi_Hong)
Consulting Manager, Pega Consulting