Question

4
Replies
198
Views
PravallikaM465 Member since 2016 53 posts
Accenture Solutions Pvt Ltd
Posted: 2 years ago
Last activity: 2 years 4 months ago
Closed

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

Hi,

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.

Regards,

Pravallika.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn