|
|
Re: Creating Test Framework and writing test cases in Java in Jubula [message #1831501 is a reply to message #1831373] |
Fri, 21 August 2020 07:09  |
Nidhi Kashyap Messages: 21 Registered: August 2020 |
Junior Member |
|
|
Hi All,
I am trying to call the AUT agent outside Jubula in a Java class.
I am writing the below code for setting up the configuration.
Can anyone tell me what are the parameters which the SwingAUTConfiguration class is taking in this line ....... SwingAUTConfiguration("Autidentifier", aut_id, ratexe, ratExepath,new String[] {""});
I can find this example here .... https://help.eclipse.org/2020-06/index.jsp?topic=%2Forg.eclipse.jubula.client.ua.help%2Fcontent%2Fhtml%2FdeveloperManual%2FclientAPI%2Fch02.html&cp%3D56_1
private AUTAgent m_agent;
private AUT aut;
AUTConfiguration autconfiguration = null;
AUTIdentifier autidentifier = null;
@BeforeClass
public void loadObjectMapping() throws Exception{
}
@Before
public void setUp()
{
m_agent= MakeR.createAUTAgent("localhost",60000);
m_agent.connect();
final String aut_id="RATPOC1";
final String ratExepath="C:\\Users\\nk\\Desktop\\";
final String ratexe="Response Toolkit.exe";
autconfiguration = new
SwingAUTConfiguration("Autidentifier", aut_id, ratexe, ratExepath,new String[] {""});
autidentifier = m_agent.startAUT(autconfiguration);
aut = m_agent.getAUT(autidentifier, SwingComponents.getToolkitInformation());
aut.connect();
}
[Updated on: Fri, 21 August 2020 07:10] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.01721 seconds