After exporting an App to new instance, the SAP automation is failing. Desktop node in jiffy works on winappdriver. Hence, if there is is any issue reported, we should always check jiffy service logs and see if winappdriver is launched properly. If win app driver is not launched properly, we should check t if the driver is up and running in the task manager. In these cases, where win app driver is not launched or error in start of win app driver , then we should restart win app driver from task manager and restart the machine.
SAP Recording is not working. Getting the error as "Connection reset, nested exception is java.net.SocketException: Connection reset" If ‘Element not found' or any other errors occurs, we should first check if the recorded xpaths in the jiffy uncontrol’s page has any numeric part present in the xpaths. There’s utility to check the proper xpaths (attachment below). We need to provide application path, win app driver port(from task manager) and xpath to be checked. Click on 'Locate/click' button and observe if click is happening on the correct element . Keep modifying the xpath till we get proper values and proper click. We can add indexes in the index field if the element count is more than on