MarketSquare / remoteswinglibrary

RemoteSwingLibrary
Apache License 2.0
31 stars 39 forks source link

Delay on filling field values #98

Open a6arun opened 3 years ago

a6arun commented 3 years ago

I have used remoteSwing library for automating the jnlp application. I am facing delay on inputting values in the fields. Its taking around 12 second to input on each field.

The keyword I have used is "Type Into Textfield ${identifier} value

I used "RemoteSwingLibrary.List Components In Context formatted" to list the java swing components.

Could you please suggest a method to overcome this delay issue?

cristii006 commented 3 years ago

Hi @a6run,

The issue you described is working fine for me. Running Type Into Textfield seems to work perfectly and with no such big delay. Could the issue you described be something coming from the application or maybe is something that you are trying to introduce in the textfield that is causing the problem? Can you provide more details regarding the test environment, or a simple test that could help us reproduce the problem.

Best regards, Andrei

Padmesh624 commented 7 months ago

Hi @cristii006 @a6arun , I also want to automate the jnlp application. I using windows 11 machine. Python version is 3.12.1. And remoteswinglibrary-2.3.2.jar . I added this jar path in environment variable as PYTHONPATH. I am not able to start the application using start application keyword. Below error is coming. How to start the application. Also tell the steps in setting the environment . I am using pycharm IDE. I added the jar in project structure. Expecting the quick response. Thanks in advance !

PS C:\Users\padmeshp\PycharmProjects\EMSProject> robot loginTest.robot C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\RemoteSwingLibrary.py:284: SyntaxWarning: invalid escape sequence '\$' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\RemoteSwingLibrary.py:286: SyntaxWarning: invalid escape sequence '\$' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\RemoteSwingLibrary.py:284: SyntaxWarning: invalid escape sequence '\$' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\RemoteSwingLibrary.py:286: SyntaxWarning: invalid escape sequence '\$' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:233: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:240: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:252: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:358: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:388: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:390: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:391: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:392: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:394: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:395: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:396: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:405: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:233: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:240: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:252: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:358: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:388: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:390: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:391: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:392: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:394: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:395: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:396: SyntaxWarning: invalid escape sequence '`' C:\Users\padmeshp\Downloads\remoteswinglibrary-2.3.2.jar\swinglibrary.py:405: SyntaxWarning: invalid escape sequence '`' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'system_exit' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'start_application' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'application_started' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'switch_to_application' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'ensure_application_should_close' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'log_java_system_properties' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'set_java_tool_options' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec' [ ERROR ] Error in library 'RemoteSwingLibrary': Adding keyword 'reinitiate' failed: Calling dynamic method 'get_keyword_arguments' failed: AttributeError: module 'inspect' has no attribute 'getargspec'

loginTest

Launch Application | FAIL | No keyword with name 'start application' found.