Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » unable to find table specific method for swing table(graphicscomponents)( unable to find table specific method for swing table(graphicscomponents))
unable to find table specific method for swing table(graphicscomponents) [message #1719952] Wed, 13 January 2016 13:31 Go to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello,

I have one swing table in my application, which having some object properties like
JTable(783685704)=rO0ABXNyAD1vcmcuZWNsaXBzZS5qdWJ1bGEudG9vbHMuaW50ZXJuYWwub2JqZWN0cy5Db21wb25lbnRJZGVudGlmaWVyAAAAAAAABAcCAAlaABRtX2VxdWFsT3JpZ2luYWxGb3VuZEQAEW1fbWF0Y2hQZXJjZW50YWdlSQAhbV9udW1iZXJPZk90aGVyTWF0Y2hpbmdDb21wb25lbnRzTAAYbV9hbHRlcm5hdGl2ZURpc3BsYXlOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7TAAUbV9jb21wb25lbnRDbGFzc05hbWVxAH4AAUwAFW1fY29tcG9uZW50UHJvcGVydGllc3QAD0xqYXZhL3V0aWwvTWFwO0wAEG1faGllcmFyY2h5TmFtZXN0ABBMamF2YS91dGlsL0xpc3Q7TAAMbV9uZWlnaGJvdXJzcQB+AANMABRtX3N1cHBvcnRlZENsYXNzTmFtZXEAfgABeHAAv/AAAAAAAAD/////cHQAEmphdmF4LnN3aW5nLkpUYWJsZXBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAACHcEAAAACHQABmZyYW1lMXQAMnNyYy5vcmcuamZpeGNsaWVudC5ndWkuU3RhbmRhcmRGSVhNc2dFbnRyeURpYWxvZ18xdAAXamF2YXguc3dpbmcuSlJvb3RQYW5lXzF0ABBudWxsLmxheWVyZWRQYW5ldAAQbnVsbC5jb250ZW50UGFuZXQAGWphdmF4LnN3aW5nLkpTY3JvbGxQYW5lXzF0ABdqYXZheC5zd2luZy5KVmlld3BvcnRfMXQAFGphdmF4LnN3aW5nLkpUYWJsZV8xeHNxAH4ABgAAAAB3BAAAAAB4cQB+AAU=

Trying to map it like graphicalcomponent, like below .

private static GraphicsComponent JTable;

ComponentIdentifier<Table> m_table= om.get("JTable(783685704)");

JTable = SwingComponents.createJTable(m_table);

if(m_aut.execute(JTable.checkExistence(true), "JTable") != null)


i am unable to find table specific method in this case, like rowcount or cellcount, getcelldata .. etc.
could you please tell me how to handle it.

Thanks in advance.

Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1719953 is a reply to message #1719952] Wed, 13 January 2016 13:31 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member

- How to configure JUBULA with ECLIPSE [message #1708307] Tue, 15 September 2015 11:06 Go to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
could you please tell me the steps to be followed for configuring JUBULA with ECLIPSE.
I tried to add readily available plugins for JUBULA with eclipse, but it did not worked.
i need all steps need for it.
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1708310 is a reply to message #1708307] Tue, 15 September 2015 11:37 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 190
Registered: May 2011
Senior Member
add to buddy list
ignore all messages by this user
Hi,

in order to help you please add more Information e.g. which Eclipse Version, what does not work, how do you know that it does not work, what exactly did you do, what do you want to do?
Actually installing Jubula into your Eclipse should not be so difficult:

* Open the Eclipse Marketplace (Help/Eclipse MP)
* Search for Jubula in the filter
* Install it

Regards
Oliver
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1709417 is a reply to message #1708310] Mon, 28 September 2015 10:42 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Oliver,

I could configure JUBULA with eclipse now, however i am still facing some issue with it, could you please help me in order to resolve it.

Here i m facing two issues
1. i tried to follow steps given for setting up AUT for testing and added org.eclipse.jubula.rc.rcp@start to the end of the osgi.bundles paramete, but this entry get vanish with every restart of eclipse, could you suggest me some solution for this?
2. I am getting exception in eclipse while starting AUT

[INFO] firing connectionGained
[WARNING] Option has already been configured: toolkitID
[INFO] sent to localhost/127.0.0.1:60000 message with header: <org.eclipse.jubul
a.communication.internal.message.MessageHeader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerMessage</m__messageClassName>
<m__messageLength>1663</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[INFO] read header: <org.eclipse.jubula.communication.internal.message.MessageHe
ader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerStateMessage</m__messageClassName>
<m__messageLength>510</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[ERROR] caught exception from 'org.eclipse.jubula.client.internal.commands.Start
AUTServerStateCommand.execute()'
java.lang.SecurityException: class "org.eclipse.core.runtime.InvalidRegistryObje
ctException"'s signer information does not match signer information of other cla
sses in the same package
at java.lang.ClassLoader.checkCerts(Unknown Source)
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.jubula.client.core.ClientTestImpl.<init>(ClientTestImpl.java:210
)
at org.eclipse.jubula.client.core.ClientTest.instance(ClientTest.java:33)
at org.eclipse.jubula.client.internal.commands.StartAUTServerStateCommand.execu
te(StartAUTServerStateCommand.java:58)
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.re
ceived(Communicator.java:841)
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageR
eceived(Connection.java:402)
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Con
nection.java:391)
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread
.run(Connection.java:454)


could you please suggest me any solution for this.

thanks for your support.

Regards
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1709516 is a reply to message #1709417] Tue, 29 September 2015 06:44 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello,

for your first question: if the Eclipse AUT is configured to not accept newly added plugins, then you will have to ensure that the plugin is added during the build process. More on this is available here:
http://help.eclipse.org/mars/topic/org.eclipse.jubula.client.ua.help/content/html/userManual/toolkit/rcpAUT/setting-up-an-rcp-aut-for-testing.html?cp=44_3_2_2_0#setting-up-an-rcp-aut

The fact that the RCP Accessor is not correctly added would probably explain the AUT start message. I'd try to fix that first and then see whether the problem still occurs.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1709544 is a reply to message #1709516] Tue, 29 September 2015 08:17 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alex,

Thanks for your reply, as i mentioned in previous posts, i am not able to add ,org.eclipse.jubula.rc.rcp@start in config.ini, config.ini gets reloaded with every eclipse restart.
However i also tried build project with plugins(attached build.xml here)
do you see any other way to incorporate these plugin added in build process.
More over i can see both plugin details under configuration tab of eclipse.

Id: org.eclipse.jubula.rc.rcp, Version: 3.1.0.201505121449, Location: initial@reference:file:plugins/org.eclipse.jubula.rc.rcp_3.1.0.201505121449.jar
Id: org.eclipse.jubula.rc.rcp.common, Version: 3.1.0.201505121449, Location: reference:file:plugins/org.eclipse.jubula.rc.rcp.common_3.1.0.201505121449.jar


getting error

localhost
60000
[INFO] firing connectionGained
[WARNING] Option has already been configured: toolkitID
[INFO] sent to localhost/127.0.0.1:60000 message with header: <org.eclipse.jubul
a.communication.internal.message.MessageHeader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerMessage</m__messageClassName>
<m__messageLength>1663</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[INFO] read header: <org.eclipse.jubula.communication.internal.message.MessageHe
ader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerStateMessage</m__messageClassName>
<m__messageLength>510</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[ERROR] null
[ERROR] caught exception from 'org.eclipse.jubula.client.internal.commands.Start
AUTServerStateCommand.execute()'
org.eclipse.jubula.tools.internal.exception.ConfigXmlException
at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.getCo
mpSystem(ComponentBuilder.java:195)
at org.eclipse.jubula.client.core.ClientTestImpl.<init>(ClientTestImpl.java:210
)
at org.eclipse.jubula.client.core.ClientTest.instance(ClientTest.java:33)
at org.eclipse.jubula.client.internal.commands.StartAUTServerStateCommand.execu
te(StartAUTServerStateCommand.java:58)
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.re
ceived(Communicator.java:841)
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageR
eceived(Connection.java:402)
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Con
nection.java:391)
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread
.run(Connection.java:454)


Please suggest me some solution for this
Attachment: build.xml
(Size: 3.25KB, Downloaded 5 times)
[Updated on: Tue, 29 September 2015 09:40]Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1709685 is a reply to message #1709544] Wed, 30 September 2015 11:23 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alex,

could you please suggest me some solution?, i am blocked

Seeking for your help,

Thanks
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1709977 is a reply to message #1709685] Fri, 02 October 2015 11:56 Go to previous messageGo to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 13
Registered: October 2013
Junior Member
add to buddy list
ignore all messages by this user
Hello Mamta,
you only need to add the o.e.j.rc.rcp bundle once to your config.ini. From there on, Eclipse is able to start that bundle. The error message sounds quite strange, so I assume something is wrong with your Eclipse installation. Maybe a new and clean setup will help.
If not, please tell which version of Eclipse you are using with which Jubula. Did you already try to install some custom extensions for Jubula? (Because the error message sounds like something in that area...)

Regards,
Sebastian
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710142 is a reply to message #1709977] Mon, 05 October 2015 06:10 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Sebastian,

I tried adding rc.rcp bundle in config.ini, but when eclipse restarts then config.ini gets reloaded and information added about rc. rcp bundle gets vanish from config.ini.
and regarding new installation, i tried with different versions of eclipse, right now i am using eclipse-jee-mars-R-win32-x86_64, with latest jubula plugins.
Do i need to use some other compatible eclipse or jubula?

please help me in resolving this issue, thanks in advance.

Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710241 is a reply to message #1710142] Mon, 05 October 2015 13:36 Go to previous messageGo to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 13
Registered: October 2013
Junior Member
add to buddy list
ignore all messages by this user
As I said before, Eclipse knows what it is doing. The "vanishing" is no problem. The problem is that your application, which you want to test, does not have Jubula's rc.rcp bundle running.
What you said gives the impression that you are modifying the config.ini of your Eclipse installation instead of the config file from your application. Could you clarify that?
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710316 is a reply to message #1710241] Tue, 06 October 2015 05:15 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Sebastian,

My application is swing application, which i am lunching by JAR, it does not have any configuration file. could you please tell me how can i add Jubula's rc.rcp bundle in that?.

thanks
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710336 is a reply to message #1710316] Tue, 06 October 2015 07:23 Go to previous messageGo to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 13
Registered: October 2013
Junior Member
add to buddy list
ignore all messages by this user
You don't have to do that for swing applications.
Just make sure that you choose "Swing" as toolkit for your application in Jubula. If you run into trouble again, let us know.
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710350 is a reply to message #1710336] Tue, 06 October 2015 08:06 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
hello Sebastain,

below is the program using for it.
and its giving me null error at id(marked in red)

public void setUp() throws Exception {

System.out.println(AGENT_HOST);
System.out.println(AGENT_PORT);
m_agent = MakeR.createAUTAgent(AGENT_HOST, AGENT_PORT);
m_agent.connect();
if(m_agent.isConnected()){
System.out.println("Connected");
}
final String autID = "FIX_Client";
// AUTConfiguration config = new SwingAUTConfiguration("org.eclipse.jubula.rc.rcp", autID, "C:\\Software\\eclipse\\Fix_implementation\\Fix_Implementation.bat", "C:\\Software\\eclipse\\Workspace\\Jubula", null, Locale.getDefault(), Locale.getDefault());
AUTConfiguration config = new SwingAUTConfiguration("FIX_Client", autID, "C:\\Software\\eclipse\\Fix_implementation\\Fix_Implementation.bat", "C:\\Software\\eclipse\\Workspace\\Jubula", null, Locale.getDefault());
Map<String, String> info = config.getLaunchInformation();
Set<String> ks = info.keySet();
for(String k : ks){
System.out.println(k + " = " + info.get(k));
}

try{

AUTIdentifier id = m_agent.startAUT(config);
System.out.println(id.getID());

if(id!= null){


m_aut = m_agent.getAUT(id, SwtComponents.getToolkitInformation());
m_aut.connect();

}
System.out.println("AUT start has failed");

}catch(Exception ex){
ex.getMessage();
ex.printStackTrace();

}


/*else {
Assert.fail("AUT start has failed!"); //$NON-NLS-1$
}
*/
}

Please help me in resolving this.


Below is the error i am getting

[INFO] firing connectionGained
Connected
AUT_ID = FIX_Client
AUT_LOCALE = en_US
AUT_ARGUMENTS =
EXECUTABLE = C:\Software\eclipse\Fix_implementation\Fix_Implementation.bat
toolkitID = com.bredexsw.guidancer.SwingToolkitPlugin
WORKING_DIR = C:\Software\eclipse\Workspace\Jubula
[INFO] sent to localhost/127.0.0.1:60000 message with header: <org.eclipse.jubul
a.communication.internal.message.MessageHeader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerMessage</m__messageClassName>
<m__messageLength>1472</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[INFO] read header: <org.eclipse.jubula.communication.internal.message.MessageHe
ader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.StartAU
TServerStateMessage</m__messageClassName>
<m__messageLength>510</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[ERROR] null
[ERROR] caught exception from 'org.eclipse.jubula.client.internal.commands.Start
AUTServerStateCommand.execute()'
org.eclipse.jubula.tools.internal.exception.ConfigXmlException
at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.getCo
mpSystem(ComponentBuilder.java:195)
at org.eclipse.jubula.client.core.ClientTestImpl.<init>(ClientTestImpl.java:210
)
at org.eclipse.jubula.client.core.ClientTest.instance(ClientTest.java:33)
at org.eclipse.jubula.client.internal.commands.StartAUTServerStateCommand.execu
te(StartAUTServerStateCommand.java:58)
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.re
ceived(Communicator.java:841)
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageR
eceived(Connection.java:402)
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Con
nection.java:391)
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread
.run(Connection.java:454)
[INFO] read header: <org.eclipse.jubula.communication.internal.message.MessageHe
ader>
<m__version>1</m__version>
<m__messageType>2</m__messageType>
<m__messageClassName>org.eclipse.jubula.communication.internal.message.AutRegi
steredMessage</m__messageClassName>
<m__messageLength>433</m__messageLength>
</org.eclipse.jubula.communication.internal.message.MessageHeader>
[ERROR] null
[ERROR] caught exception from 'org.eclipse.jubula.client.internal.commands.AutRe
gisteredCommand.execute()'
org.eclipse.jubula.tools.internal.exception.ConfigXmlException
at org.eclipse.jubula.toolkit.common.xml.businessprocess.ComponentBuilder.getCo
mpSystem(ComponentBuilder.java:195)
at org.eclipse.jubula.client.core.ClientTestImpl.<init>(ClientTestImpl.java:210
)
at org.eclipse.jubula.client.core.ClientTest.instance(ClientTest.java:33)
at org.eclipse.jubula.client.core.agent.AutAgentRegistration.<init>(AutAgentReg
istration.java:72)
at org.eclipse.jubula.client.core.agent.AutAgentRegistration.getInstance(AutAge
ntRegistration.java:81)
at org.eclipse.jubula.client.internal.commands.AutRegisteredCommand.execute(Aut
RegisteredCommand.java:43)
at org.eclipse.jubula.communication.internal.Communicator$ConnectionListener.re
ceived(Communicator.java:841)
at org.eclipse.jubula.communication.internal.connection.Connection.fireMessageR
eceived(Connection.java:402)
at org.eclipse.jubula.communication.internal.connection.Connection.access$2(Con
nection.java:391)
at org.eclipse.jubula.communication.internal.connection.Connection$ReaderThread
.run(Connection.java:454)

Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710366 is a reply to message #1710350] Tue, 06 October 2015 09:14 Go to previous messageGo to next message
Sebastian Struckmann is currently offline Sebastian StruckmannFriend
Messages: 13
Registered: October 2013
Junior Member
add to buddy list
ignore all messages by this user
Oh. You want to use the Jubula Client API! Should have told that in the beginning...
The nullpointer is happening because you did not start a seperate AUT agent for your test. For that agent you need a standalone version of Jubula.
Additionally you must not use the "SwtComponents" class a few lines later, instead you need "SwingComponents" for you swing application.
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710368 is a reply to message #1710366] Tue, 06 October 2015 09:22 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
hello Sebastian,

How can i use standalone version of Jubula for starting Agent, current i am running it manually.

Please provide me details.
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710385 is a reply to message #1710368] Tue, 06 October 2015 11:27 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello Mamta,

There is an FAQ containing details and further links on how to get set up with the API. It includes how to find examples, and links to the documentation for the kinds of question you are asking. The FAQ is here:
http://testing.bredex.de/faqs/jubula-api-setup.html

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710388 is a reply to message #1710385] Tue, 06 October 2015 11:35 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alexandra,

The link provides by you more taking about JUBULA tool setup, where i am using jubula api in eclipse.
I am not able to relate, if i start AUG agent from JUBULA standalone (windows home--->All programs--->Jubula---->Start AUT agent), then how will i call it in java code to use further to start AUT and run my testcase.
Could you please provide me some example for the setup i am looking for.

Thanks again.

Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710406 is a reply to message #1710388] Tue, 06 October 2015 13:02 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello Mamta,

The link I sent is specifically for setting up Jubula to use the API. If you read the details carefully, you will see that it contains the necessary steps to set up the Jubula Client API.
As it mentions, it is not currently possible to start the AUT Agent from the API. I mentioned this in this thread.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710631 is a reply to message #1710406] Thu, 08 October 2015 04:10 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alex,

Thanks for info, now i am able to run AUT, how ever i am still facing issue with AUT activation , before proceeding to any action on AUT.
I tried to check activation methods available on JUBULA help page, but could not help much.

Could you please help me in this regards?

Thanks in advance.
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710715 is a reply to message #1710631] Thu, 08 October 2015 15:26 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello Mamta,

I'm pleased to hear that you've got it up and running. Can you describe the problem you are having with AUT activation? It may be the case that you don't need to actually activate the AUT explicitly.

It is necessary though, that the AUT is in the foreground (i.e. if you're starting it from Eclipse, that you switch to the AUT for the test). A good way of making sure of this is to use e.g. a virtual machine for running the test.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710780 is a reply to message #1710715] Fri, 09 October 2015 08:42 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alex,

My scenario is that, i am starting my AUT from eclipse and then launched AUT stays at windows taskbar but does not get activated over eclipse window.
However it comes in front, if i reduce eclipse size and keep it one corner of desktop.
My aut is swing application, i m using application.activate(AUTActivationMethod.autDefault) method to activate, but does not help much.
Could you please advise me some method which can be used to activate this window.

Thanks
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1710835 is a reply to message #1710780] Fri, 09 October 2015 15:32 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello,

Thanks for the info - it's as I suspected. The "activate application" action does not bring the AUT into the foreground / maximize it. As I mentioned above, while you're testing on the same machine as you're starting the test, you can manually ensure that the AUT is in the foreground. For testing on other machines, there usually isn't a problem since the AUT is the only running application. You can automate something that will e.g. cycle through ctrl+alt+tab until the correct application is in the foreground, or you could implement a small platform-specific script that you call directly from your test to bring the AUT to the front.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1711008 is a reply to message #1710835] Mon, 12 October 2015 10:12 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Thanks Alex,

Could you please tell me is there any method available in jubula to get tittle or window name for swing application?, i could not found it.

Thanks in advance.
Mamta
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1711042 is a reply to message #1711008] Mon, 12 October 2015 14:11 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hey there Mamta,

there is an action to check existence of a window by its title. It's on the "application" component.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1711135 is a reply to message #1711042] Tue, 13 October 2015 11:40 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello Alex,

Actually i am not getting Application as a component in jubula objectmap property file , can you please tell me how to add that.


object i am getting is:

AbstractButton(-1348848102)=rO0ABXNyAD1vcmcuZWNsaXBzZS5qdWJ1bGEudG9vbHMuaW50ZXJuYWwub2JqZWN0cy5Db21wb25lbnRJZGVudGlmaWVyAAAAAAAABAcCAAlaABRtX2VxdWFsT3JpZ2luYWxGb3VuZEQAEW1fbWF0Y2hQZXJjZW50YWdlSQAhbV9udW1iZXJPZk90aGVyTWF0Y2hpbmdDb21wb25lbnRzTAAYbV9hbHRlcm5hdGl2ZURpc3BsYXlOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7TAAUbV9jb21wb25lbnRDbGFzc05hbWVxAH4AAUwAFW1fY29tcG9uZW50UHJvcGVydGllc3QAD0xqYXZhL3V0aWwvTWFwO0wAEG1faGllc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MXQAEG51bGwubGF5ZXJlZFBhbmV0ABBudWxsLmNvbnRlbnRQYW5ldAAUamF2YXguc3dpbmcuSlBhbmVsXzF0ACdzcmMub3JnLmpmaXhjbGllbnQuZ3VpLkZJWEJ1dHRvblBhbmVsXzF0ACdzcmMub3JnLmpmaXhjbGllbnQuZ3VpLkZJWEJ1dHRvbkdyb3VwXzJ0ABVqYXZheC5zd2luZy5KQnV0dG9uXzR4c3EAfgAGAAAABXcEAAAABXQAFWphdmF4LnN3aW5nLkpCdXR0b25fMXQAFWphdmF4LnN3aW5nLkpCdXR0b25fMnQAFWphdmF4LnN3aW5nLkpCdXR0b25fM3EAfgAPdAAVamF2YXguc3dpbmcuSkJ1dHRvbl81eHQAGmphdmF4LnN3aW5nLkFic3RyYWN0QnV0dG9u
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1711281 is a reply to message #1711135] Wed, 14 October 2015 14:22 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hi,

The application component has a default mapping and therefore doesn't require a mapping.

Best regards,
Alex
Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1719914 is a reply to message #1711281] Wed, 13 January 2016 07:13 Go to previous messageGo to next message
Mamta TIWARI is currently online Mamta TIWARIFriend
Messages: 18
Registered: September 2015
Junior Member
Hello,

I have one swing table in my application, which having some object properties like
JTable(783685704)=rO0ABXNyAD1vcmcuZWNsaXBzZS5qdWJ1bGEudG9vbHMuaW50ZXJuYWwub2JqZWN0cy5Db21wb25lbnRJZGVudGlmaWVyAAAAAAAABAcCAAlaABRtX2VxdWFsT3JpZ2luYWxGb3VuZEQAEW1fbWF0Y2hQZXJjZW50YWdlSQAhbV9udW1iZXJPZk90aGVyTWF0Y2hpbmdDb21wb25lbnRzTAAYbV9hbHRlcm5hdGl2ZURpc3BsYXlOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7TAAUbV9jb21wb25lbnRDbGFzc05hbWVxAH4AAUwAFW1fY29tcG9uZW50UHJvcGVydGllc3QAD0xqYXZhL3V0aWwvTWFwO0wAEG1faGllcmFyY2h5TmFtZXN0ABBMamF2YS91dGlsL0xpc3Q7TAAMbV9uZWlnaGJvdXJzcQB+AANMABRtX3N1cHBvcnRlZENsYXNzTmFtZXEAfgABeHAAv/AAAAAAAAD/////cHQAEmphdmF4LnN3aW5nLkpUYWJsZXBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAACHcEAAAACHQABmZyYW1lMXQAMnNyYy5vcmcuamZpeGNsaWVudC5ndWkuU3RhbmRhcmRGSVhNc2dFbnRyeURpYWxvZ18xdAAXamF2YXguc3dpbmcuSlJvb3RQYW5lXzF0ABBudWxsLmxheWVyZWRQYW5ldAAQbnVsbC5jb250ZW50UGFuZXQAGWphdmF4LnN3aW5nLkpTY3JvbGxQYW5lXzF0ABdqYXZheC5zd2luZy5KVmlld3BvcnRfMXQAFGphdmF4LnN3aW5nLkpUYWJsZV8xeHNxAH4ABgAAAAB3BAAAAAB4cQB+AAU=

Trying to map it like graphicalcomponent, like below .

private static GraphicsComponent JTable;

ComponentIdentifier<Table> m_table= om.get("JTable(783685704)");

JTable = SwingComponents.createJTable(m_table);

if(m_aut.execute(JTable.checkExistence(true), "JTable") != null)


i am unable to find table specific method in this case, like rowcount or cellcount, getcelldata .. etc.
could you please tell me how to handle it.

Thanks in advance.

Mamta

Report message to a moderator

- Re: How to configure JUBULA with ECLIPSE [message #1719946 is a reply to message #1719914] Wed, 13 January 2016 12:36 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1434
Registered: July 2009
Senior Member
add to buddy list
ignore all messages by this user
Hello Mamta,

It is helpful for us and for other forum users if you start new topics in new threads.

In your case above, you are addressing the component as a Graphics Component. You will find the table-specific methods on the Table Component.

Best regards,
Alex



Re: unable to find table specific method for swing table(graphicscomponents) [message #1719956 is a reply to message #1719953] Wed, 13 January 2016 13:34 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hello Mamta,

As I posed in the other thread, your example addresses the component as a Graphics Component. You will find the table-specific methods on the Table Component.

Hope that helps!
Alex
Re: unable to find table specific method for swing table(graphicscomponents) [message #1719958 is a reply to message #1719956] Wed, 13 January 2016 13:39 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Alex,

As per your comment, i created new thread for this topic and copied all previous msgs from previous focus , to just consolidate all msg together, if it is not as per you expectation, kindly delete this thread.

as per new topic, i am unable to find swing table graphiccomponent table specific methods, like rowcount or cellcount.
i tried checking Table component details, but i could not find.
could you please provide me some example for using rowcount or cellcount?

Thanks
Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1719975 is a reply to message #1719958] Wed, 13 January 2016 14:20 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hello Mamta,

Opening a new thread would have been sufficient - the copying across was not necessary. The idea is to have separate threads for separate topics - and the original thread you posted in was on a separate topic.

Nevertheless, we're here now.

In your example above, you use

private static GraphicsComponent JTable;

As far as I can see, you need to address the Table as Table Component here. Then you should be able to see methods such as "select value from column", "check existence of value in row", etc.

How does your code look and what methods are being offered?

Best regards,
Alex
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720349 is a reply to message #1719975] Mon, 18 January 2016 05:24 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Alex,

Thanks for your reply, however i am still not able to find Jtable specific methods: my code is:

private static GraphicsComponent JTable;

ComponentIdentifier<Table> table = om.get("JTable(783685704)");

JTable = SwingComponents.createJTable(table);

if(m_aut.execute(JTable.checkExistence(true), "JTable") != null)
{
Enabled = true;
Assert.assertTrue(Enabled, "JTable is displayed");
JTable.[b] (not able to get Jtable specific methods)[/b]

}


Can you please help me here?

Thanks in advance

Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720367 is a reply to message #1720349] Mon, 18 January 2016 09:05 Go to previous messageGo to next message
Marvin Mueller is currently offline Marvin MuellerFriend
Messages: 255
Registered: March 2012
Senior Member
the Variable JTable is only of the type GraphicsComponent. This is a very basic type which supports only a few actions. If you want to use table actions you should use "org.eclipse.jubula.toolkit.concrete.components.TableComponent" as Type for the JTable variable.
You can also see the type which is used for the "JTable" as the return type of the call "SwingComponents.createJTable(table)".

Best regards,
Marvin
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720383 is a reply to message #1720367] Mon, 18 January 2016 10:22 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Marvin,

I tried the solution you provided.

however its looks very lengthy to handle,

CAP cap18= JTable.selectCell(row, Operator.equals, column, Operator.equals, 3, 50, Unit.percent, 50, Unit.percent, BinaryChoice.yes, InteractionMode.secondary);
CAP cap19 = JTable.inputTextSpecifyCell(value, row, Operator.equals, column, Operator.equals);

Do you have any other workaround to handle it, instead of writing such a lengthy command?

Thanks
Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720384 is a reply to message #1720383] Mon, 18 January 2016 10:27 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Marvin,

Moreover, i did not find any method for get rowcount or cell count on table, which is very much needed for my project.

Could you please suggest me some other approach?

Regards
Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720430 is a reply to message #1720384] Mon, 18 January 2016 15:22 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hello Mamta,

The raw methods for addressing components in a high level way often do have many parameters. If, in your case, you don't usually need all of them, then it might make sense to create your own methods that only parametrise the things that will change,
e.g. for selecting a value from a column, you might only want parametrise the column name and the value to select.

For the other methods you're looking for:
bear in mind that Jubula is a functional UI testing tool. It's used to automate workflows and checks to show that user-facing functions are working correctly (or not). This means that we don't offer methods for all of the getters that a component may have. In the case you're referring to, you can use the action "check property" to check things such as row count or cell count - or any other accessible properties.

Hope this helps,
Alex
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720636 is a reply to message #1720430] Wed, 20 January 2016 05:39 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Alex,

Thanks for your reply,

could you please explain me, how to evaluate before methods for table.

CAP cap1 = JTable.checkExistenceOfValueInRow(row, Operator.equals, column2, Operator.equals, SearchType.relative, true);
System.out.println("the value of cap1 is " + cap1.toString());
CAP cap2 = JTable.checkProperty("rowCount", "0", Operator.equals);
System.out.println("the value of cap2 is " + cap2.toString());


Below is the result of both commands, which property or check i should use for above commands, not able to understand print msg for both command.

the value of cap1 is Methodname:rcVerifyValueInRow CI: ComponentIdentifier[compo
nent class=javax.swing.JTable,supported class=javax.swing.JTable,hierarchy=[fram
e1, src.org.jfixclient.gui.StandardFIXMsgEntryDialog_1, javax.swing.JRootPane_1,
null.layeredPane, null.contentPane, javax.swing.JScrollPane_1, javax.swing.JVie
wport_1, javax.swing.JTable_1],neigbours=[],alternative name=<null>] Parameter:
2 | equals | 2 | equals | relative | true |


the value of cap2 is Methodname:rcVerifyProperty CI: ComponentIdentifier[compone
nt class=javax.swing.JTable,supported class=javax.swing.JTable,hierarchy=[frame1
, src.org.jfixclient.gui.StandardFIXMsgEntryDialog_1, javax.swing.JRootPane_1, n
ull.layeredPane, null.contentPane, javax.swing.JScrollPane_1, javax.swing.JViewp
ort_1, javax.swing.JTable_1],neigbours=[],alternative name=<null>] Parameter: ro
wCount | 0 | equals |



According to me CAP1 should return true or false and CAP2 should return rownumber.

so that i can use if command to work further.

Please help here.

Thanks
Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1720678 is a reply to message #1720636] Wed, 20 January 2016 09:36 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Mamta,

I think it would make sense for you to check out the examples we have for this. How to get them set up is described here:
http://testing.bredex.de/faqs/jubula-api-setup.html

The documentation on the API is here:
http://help.eclipse.org/mars/topic/org.eclipse.jubula.client.ua.help/content/html/developerManual/clientAPI/clientAPI.html?cp=42_1

And there are some examples here (from slide 15):
http://testing.bredex.de/presentations-tools.html?file=files/content_closed/documents/presentations/Jekyll%20and%20Hyde%20with%20Jubula.pdf

The idea is that you execute the method on an instance of the application, which then actually performs the action. So for the check existence of value in row, Jubula will check whether the entry exists or not. You expect "true", so the action will fail if the entry is not there.

Hope this helps,
Alex

Re: unable to find table specific method for swing table(graphicscomponents) [message #1720817 is a reply to message #1720678] Thu, 21 January 2016 09:09 Go to previous messageGo to next message
Mamta TIWARI is currently offline Mamta TIWARIFriend
Messages: 27
Registered: September 2015
Junior Member
Hello Alex,

Thanks for your comment.

I am unable to find Storeproperty method to store property value. i am using latest version of JUBULA Api.
Could you please guide me here?

Thanks
Mamta
Re: unable to find table specific method for swing table(graphicscomponents) [message #1854946 is a reply to message #1719952] Tue, 20 September 2022 02:43 Go to previous messageGo to next message
islan tani is currently offline islan taniFriend
Messages: 3
Registered: September 2022
Junior Member
Mamta TIWARI wrote on Wed, 13 January 2016 13:31
Hello,

I have one swing table in my application, which having some object properties like
JTable(783685704)=rO0ABXNyAD1vcmcuZWNsaXBzZS5qdWJ1bGEudG9vbHMuaW50ZXJuYWwub2JqZWN0cy5Db21wb25lbnRJZGVudGlmaWVyAAAAAAAABAcCAAlaABRtX2VxdWFsT3JpZ2luYWxGb3VuZEQAEW1fbWF0Y2hQZXJjZW50YWdlSQAhbV9udW1iZXJPZk90aGVyTWF0Y2hpbmdDb21wb25lbnRzTAAYbV9hbHRlcm5hdGl2ZURpc3BsYXlOYW1ldAASTGphdmEvbGFuZy9TdHJpbmc7TAAUbV9jb21wb25lbnRDbGFzc05hbWVxAH4AAUwAFW1fY29tcG9uZW50UHJvcGVydGllc3QAD0xqYXZhL3V0aWwvTWFwO0wAEG1faGllcmFyY2h5TmFtZXN0ABBMamF2YS91dGlsL0xpc3Q7TAAMbV9uZWlnaGJvdXJzcQB+AANMABRtX3N1cHBvcnRlZENsYXNzTmFtZXEAfgABeHAAv/AAAAAAAAD/////cHQAEmphdmF4LnN3aW5nLkpUYWJsZXBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAACHcEAAAACHQABmZyYW1lMXQAMnNyYy5vcmcuamZpeGNsaWVudC5ndWkuU3RhbmRhcmRGSVhNc2dFbnRyeURpYWxvZ18xdAAXamF2YXguc3dpbmcuSlJvb3RQYW5lXzF0ABBudWxsLmxheWVyZWRQYW5ldAAQbnVsbC5jb250ZW50UGFuZXQAGWphdmF4LnN3aW5nLkpTY3JvbGxQYW5lXzF0ABdqYXZheC5zd2luZy5KVmlld3BvcnRfMXQAFGphdmF4LnN3aW5nLkpUYWJsZV8xeHNxAH4ABgAAAAB3BAAAAAB4cQB+AAU=

Trying to map it like graphicalcomponent, like below .

private static GraphicsComponent JTable;

ComponentIdentifier<Table> m_table= om.get("JTable(783685704)");

JTable = SwingComponents.createJTable(m_table);

if(m_aut.execute(JTable.checkExistence(true), "JTable") != null)


i am unable to find table specific method in this case, like rowcount or cellcount, getcelldata .. etc.
could you please tell me how to handle it.

Thanks in advance.

Mamta

When I started I faced the same difficulty in mapping the graphical component in JTable column.
Re: unable to find table specific method for swing table(graphicscomponents) [message #1857325 is a reply to message #1854946] Mon, 30 January 2023 14:46 Go to previous message
Baoo Kudsia is currently offline Baoo KudsiaFriend
Messages: 1
Registered: January 2023
Location: USA
Junior Member

I have the same issue. I tried all methods some work a little while but not next. I think I have issue myself so that the reason I am not overcome on it.
Previous Topic:Mouse moving slow when executing tests with OpenJDK17
Next Topic:Unable to install Jubula and getting and getting Error
Goto Forum:
  


Current Time: Fri Dec 01 11:28:26 GMT 2023

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

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

Back to the top