Close popover
Pravallika M (PravallikaM465)
Accenture Solutions Pvt Ltd
Software Engineering Analyst
Accenture Solutions Pvt Ltd
PravallikaM465 Member since 2016 53 posts
Accenture Solutions Pvt Ltd
Posted: May 4, 2018
Last activity: May 22, 2018

How to Specify StartandWait Explicitly for WIndows Applications properties from XML Configuration File


I have Pega Robotics Studio 8.0.1080.0 installed in my machine. I have developed an OpenSpan Solution using Windows Adapter for Java Swing (v1.8) Desktop application (.bat file) by setting the path to a batch file which in-turn will open a Java Swing application & by setting the Target Path to javaw.exe & Start Method to StartandWait in Windows application properties inside Studio, am able to do Interrogation the application, debug & run the Solution.

Instead of hardcoding credentials & delay, Path & Target path I have created Xml Configuration File(.xml) & loading the file using xmlDocumentComponent through automation am trying to fetch the Application path & Target Path, username, password, delay for WaitforCreate Methods values from XML file through xmlDocumentComponent Inner Text properties by assigning to Windows Application properties (Path, Target Path) & text properties of textbox etc. & trying to launch the application through Start method from automation but here am facing an issue during runtime Automation throws an error saying process javaw.exe failed to start within given timeframe which requires StartandWait need to be specified ,however I have specified the Start Method as StartandWait in Windows application -adapter properties but still Automation is unable to launch the target Path by taking path value from Xml file & I didn’t find the way to specify the StartandWait inside automation since Start Method is zero parameter. Please kindly advice.



Robotic Process Automation
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.