Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Jubula can not map objects on the installer that built by InstallAnywhere2015(Jubula can not map objects on the installer that built by InstallAnywhere2015)
Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1783977] Wed, 21 March 2018 02:40 Go to next message
Toby Wang is currently offline Toby WangFriend
Messages: 3
Registered: March 2018
Junior Member
Jubula can not map objects on any component like button and textfield on the SWING UI installer that built by InstallAnywhere2015.

After launching the installer through Jubula, the object mapping icon is active. I clicked it to get the component mapping id, but AUT will wait for nearly ten minutes, and reported error "Could not request components from AUT", see details below.

This installer is quite simple, it is SWING application, AUT cannot get the Next button on the first page.

Attachment please find the installer I tested, there are two files, installer.bat and installer.exe. Please use installer.bat as executable file, because installer.exe is regarded as non-executable jar file by Jubula.

Very appreciate for any suggestion.

2018-03-19 18:37:01.284 [Worker-879] ERROR o.e.j.c.c.c.AUTConnection - Error occurred while establishing connection to AUT.
org.eclipse.jubula.tools.internal.exception.CommunicationException: Could not request components from AUT.
at org.eclipse.jubula.client.core.communication.AUTConnection.getAllComponentsFromAUT(AUTConnection.java:494) [org.eclipse.jubula.client.core_6.0.0.201802230740.jar:na]
at org.eclipse.jubula.client.core.communication.AUTConnection.setup(AUTConnection.java:413) [org.eclipse.jubula.client.core_6.0.0.201802230740.jar:na]
at org.eclipse.jubula.client.core.communication.AUTConnection.connectToAutImpl(AUTConnection.java:260) [org.eclipse.jubula.client.core_6.0.0.201802230740.jar:na]
at org.eclipse.jubula.client.core.communication.AUTConnection.connectToAut(AUTConnection.java:178) [org.eclipse.jubula.client.core_6.0.0.201802230740.jar:na]
at org.eclipse.jubula.client.core.ClientTestImpl.startObjectMapping(ClientTestImpl.java:436) [org.eclipse.jubula.client.core_6.0.0.201802230740.jar:na]
at org.eclipse.jubula.client.ui.rcp.handlers.StartObjectMappingModeHandler$StartObjectMappingModeJob.run(StartObjectMappingModeHandler.java:157) [org.eclipse.jubula.client.ui.rcp_6.0.0.201802230740.jar:na]
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56) [org.eclipse.core.jobs_3.9.2.v20171030-1027.jar:na]
  • Attachment: install.zip
    (Size: 4.88MB, Downloaded 151 times)

[Updated on: Tue, 27 March 2018 07:57]

Report message to a moderator

Re: Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1784172 is a reply to message #1783977] Fri, 23 March 2018 08:26 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

what toolkit does the AUT use?

Best regards,
Alex
Re: Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1784336 is a reply to message #1784172] Tue, 27 March 2018 01:48 Go to previous messageGo to next message
Toby Wang is currently offline Toby WangFriend
Messages: 3
Registered: March 2018
Junior Member
The toolkit I used is SWING
Re: Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1784352 is a reply to message #1784172] Tue, 27 March 2018 07:58 Go to previous messageGo to next message
Toby Wang is currently offline Toby WangFriend
Messages: 3
Registered: March 2018
Junior Member
I updated the attached installer I tested. There are two files, installer.bat and installer.exe. Please use installer.bat as executable file, because installer.exe is regarded as non-executable jar file by Jubula.
Re: Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1784777 is a reply to message #1783977] Wed, 04 April 2018 06:54 Go to previous messageGo to next message
Elena Pister is currently offline Elena PisterFriend
Messages: 13
Registered: October 2016
Junior Member
Dear Tobi,

may I ask you which version of Jubula you are using?

Kind Regards

Elena
Re: Jubula can not map objects on the installer that built by InstallAnywhere2015 [message #1784780 is a reply to message #1784777] Wed, 04 April 2018 07:24 Go to previous message
Elena Pister is currently offline Elena PisterFriend
Messages: 13
Registered: October 2016
Junior Member
Dear Toby,

I just tested it with Jubula version 8.4.1.123 as you see on the picture (Forum) I could map the lable, buttons and text components.

It is important that you configure your AUT correctly.
Please ensure that you selected the correct toolkit in the AUT configuration (see picture Forum2)

Kind Regards

Elena
  • Attachment: Forum2.PNG
    (Size: 18.07KB, Downloaded 148 times)
  • Attachment: Forum.PNG
    (Size: 184.94KB, Downloaded 150 times)
Previous Topic:Internal error 3003: Unexpected error occurred - NullPointerException
Next Topic:Web Automation - HTML
Goto Forum:
  


Current Time: Sat Dec 14 05:25:52 GMT 2024

Powered by FUDForum. Page generated in 0.03600 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top