use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method winGetClassList.
public String winGetClassList(String title, String text) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant[] params = new Variant[] { vTitle, vText };
Variant result = autoItX.invoke("WinGetClassList", params);
return safeString(result);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method controlTreeViewGetSelectedItemIndex.
public int controlTreeViewGetSelectedItemIndex(String title, String text, String control) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vControl = new Variant(control);
Variant vCommand = new Variant("GetSelected");
Variant vIndex = new Variant(1);
Variant[] params = new Variant[] { vTitle, vText, vControl, vCommand, vIndex };
return autoItX.invoke("ControlTreeView", params).getInt();
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method mouseClickDrag.
public void mouseClickDrag(String button, int x, int y, int x2, int y2, int speed) {
Variant vButton = new Variant(button);
Variant vX = new Variant(x);
Variant vY = new Variant(y);
Variant vX2 = new Variant(x2);
Variant vY2 = new Variant(y2);
Variant vSpeed = new Variant(speed);
Variant[] params = new Variant[] { vButton, vX, vY, vX2, vY2, vSpeed };
autoItX.invoke("MouseClickDrag", params);
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method runWait.
public int runWait(String filename, String workingDirectory, int flag) {
Variant vFilename = new Variant(filename);
Variant vWorkingDirectory = new Variant(workingDirectory);
Variant vFlag = new Variant(flag);
Variant[] params = new Variant[] { vFilename, vWorkingDirectory, vFlag };
return autoItX.invoke("RunWait", params).getInt();
}
use of com.jacob.com.Variant in project selenium_java by sergueik.
the class AutoItX method statusbarGetText.
public String statusbarGetText(String title, String text, int part) {
Variant vTitle = new Variant(title);
Variant vText = new Variant(text);
Variant vPart = new Variant(part);
Variant[] params = new Variant[] { vTitle, vText, vPart };
return autoItX.invoke("StatusbarGetText", params).getString();
}
Aggregations