Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8273229
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:24:23+00:00 2026-06-08T07:24:23+00:00

Has anyone out there used the RobotFramework and the Java Remote Server? I’m having

  • 0

Has anyone out there used the RobotFramework and the Java Remote Server?

I’m having a problem getting my java keywords to work with the remote server. To get a keyword to fail I threw an exception, which cause robot to fail but instead of getting the message I supplied to show up in the log I get an “Processing XML-RPC return value failed” message.

So my next attempt was to try using Assertions but that cause the server to throw a Null Pointer Exception.

Here is the method I created.

Public void filesShouldBeEqual(String path1, String path2){
     File f1 = new File(path1);
     File f2 = new File(path2);
     int value = f1.compareTo(f2);

     if(value > 0 || value < 0){
        Assert.assertFalse("Files are not equal", false);
     } else if (value == 0){
        Assert.assertTrue("Files are equal", true);
     }
 }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:24:25+00:00Added an answer on June 8, 2026 at 7:24 am

    You would have gotten better response posting to the robot framework user group on Google Groups.

    It would help if you posted information about your original code where you threw exception that caused “Processing XML-RPC return value failed” message.

    FYI, the latest release/changes to the remote server should make it easier to create your remote libraries:

    https://github.com/ombre42/jrobotremoteserver

    And for some background to your issue, there’s a list of known issues that may be related like

    http://code.google.com/p/jrobotremoteserver/issues/detail?id=2

    and the remote libraries must follow some guidelines for implementation as mentioned here:

    http://code.google.com/p/jrobotremoteserver/wiki/RemoteServerDetails#Java_remote_library_interface_with_the_generic_remote_server

    And last, the server’s included example library presents a good example of how to properly implement a Java remote library using that server.

    Your example code is probably best implemented this way:

    Public static void filesShouldBeEqual(String path1, String path2) throws Exception{
     File f1 = new File(path1);
     File f2 = new File(path2);
     int value = f1.compareTo(f2);
    
     if(value > 0 || value < 0){
        throw new Exception("Files are not equal");
     }// else if (value == 0)
       //"Files are equal", automatically = pass by the framework after executing keyword
     System.out.println("Files are equal");
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Has anyone used any of the utilities out there for LINQ to MySQL? Do
Has anyone out there used Postsharp AOP framework in a production environment? Are there
Has anyone out there used TFS's API to synchronize different types of repositories? I
anyone out there who has used Chilkat C# Crypt2 library ? How does it
Any astronomers out there? I'm wondering if anyone has produced or stumbled upon a
Has anyone tried out working with the Delete and update command of SPDataSource used
Has anyone ever used the hidden class PackageParser in Android source code with java
Has anyone out there created a version of GDI32.dll that takes advantage of hardware
Anyone out there used MATLAB's javaObject() function with a JAR file that uses JNI?
Both are powered by WebKit. I want to know if anyone out there has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.