Sending Commands to Eggplant Functional

Each Eggplant Functional virtual user (VU) in a test run must establish a connection to a different system under test (SUT) machine. You can do this using the Connect() method. You can use a data table to ensure that each VU connects to a different test machine.

Example

Connect(getString("sutMachine"));

Example

@Override

public void script() throws Exception

{

// Execute an entire eggPlant Functional script, within an Eggplant Performance transaction

startTransaction("myScriptTransaction");

Run("myScript");

endTransaction("myScriptTransaction");

 

// Execute individual eggPlant commands

DoubleClick("myImage01");

WaitFor(15.0, "myImage02");

}

 

This topic was last updated on June 24, 2020, at 02:22:02 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2020 Eggplant