Как о создании RFT сценария как сценарий драйвера и чтения первенствовать и выполнение методы ..
public void testMain(Object[] args)
{
String method = getNextAction();
TestObject target = getNextTarget();
//Using RFT's method here, Own Implementation preferred
FtReflection.invokeMethod(method, target);
}
//Get the next object to perform action on
TestObject getNextTarget()
{
//Here do the operation of finding the object that may be from map or obtained using find() api of rft
return untitledNotepadwindow();
}
//Get the next action to be performed, this should actually return an
//object that has a name to invoke , and arguments to be passed.
String getNextAction()
{
return "close";
}