Thursday, December 26, 2013

Selenium RC Tutorials




public static void main(String[] args)
{
// TODO Auto-generated method stub

Selenium selenium = new DefaultSelenium("localhost", 1244, "firefox", "http://www.google.co.in");



selenium.addCustomRequestHeader(arg0, arg1);
              selenium.addLocationStrategy(arg0, arg1);
              selenium.addScript(arg0, arg1);
              selenium.addSelection(arg0, arg1);
              selenium.allowNativeXpath(arg0);
              selenium.altKeyDown();
              selenium.altKeyUp();
              selenium.answerOnNextPrompt(arg0);
              selenium.assignId(arg0, arg1);
              selenium.attachFile(arg0, arg1);
              selenium.captureEntirePageScreenshot(arg0, arg1);
              selenium.captureEntirePageScreenshotToString(arg0);
              selenium.captureNetworkTraffic(arg0);
              selenium.captureScreenshot(arg0);
              selenium.captureScreenshotToString();
              selenium.check(arg0);
              selenium.chooseCancelOnNextConfirmation();
              selenium.chooseOkOnNextConfirmation();
              selenium.click(arg0);
              selenium.clickAt(arg0, arg1);
              selenium.close();
              selenium.contextMenu(arg0);
              selenium.contextMenuAt(arg0, arg1);
              selenium.controlKeyDown();
              selenium.controlKeyUp();
              selenium.createCookie(arg0, arg1);
              selenium.deleteAllVisibleCookies();
              selenium.deleteCookie(arg0, arg1);
              selenium.deselectPopUp();
              selenium.doubleClick(arg0);
              selenium.doubleClickAt(arg0, arg1);
              selenium.dragAndDrop(arg0, arg1);
              selenium.dragAndDropToObject(arg0, arg1);
              selenium.dragdrop(arg0, arg1);
              selenium.equals(arg0);
              selenium.fireEvent(arg0, arg1);
              selenium.focus(arg0);
              selenium.getAlert();
              selenium.getAllButtons();
              selenium.getAllFields();
              selenium.getAllLinks();
              selenium.getAllWindowIds();
              selenium.getAllWindowNames();
              selenium.getAllWindowTitles();
              selenium.getAttribute(arg0);
              selenium.getAttributeFromAllWindows(arg0);
              selenium.getBodyText();
              selenium.getClass();
              selenium.getConfirmation();
              selenium.getCookie();
              selenium.getCookieByName(arg0);
              selenium.getCssCount(arg0);
              selenium.getCursorPosition(arg0);
              selenium.getElementHeight(arg0);
              selenium.getElementIndex(arg0);
              selenium.getElementPositionLeft(arg0);
              selenium.getElementPositionTop(arg0);
              selenium.getElementWidth(arg0);
              selenium.getEval(arg0);
              selenium.getExpression(arg0);
              selenium.getHtmlSource();
              selenium.getLocation();
              selenium.getLog();
              selenium.getMouseSpeed();
              selenium.getPrompt();
              selenium.getSelectedId(arg0);
              selenium.getSelectedIds(arg0);
              selenium.getSelectedIndex(arg0);
              selenium.getSelectedIndexes(arg0);
              selenium.getSelectedLabel(arg0);
              selenium.getSelectedLabels(arg0);
              selenium.getSelectedValue(arg0);
              selenium.getSelectedValues(arg0);
              selenium.getSelectOptions(arg0);
              selenium.getSpeed();
              selenium.getTable(arg0);
              selenium.getText(arg0);
              selenium.getTitle();
              selenium.getValue(arg0);
              selenium.getWhetherThisFrameMatchFrameExpression(arg0, arg1);
              selenium.getWhetherThisWindowMatchWindowExpression(arg0, arg1);
              selenium.getXpathCount(arg0);
              selenium.goBack();
              selenium.hashCode();
              selenium.highlight(arg0);
              selenium.ignoreAttributesWithoutValue(arg0);
              selenium.isAlertPresent();
              selenium.isChecked(arg0);
              selenium.isConfirmationPresent();
              selenium.isCookiePresent(arg0);
              selenium.isEditable(arg0);
              selenium.isElementPresent(arg0);
              selenium.isOrdered(arg0, arg1);
              selenium.isOrdered(arg0, arg1);
              selenium.isPromptPresent();
              selenium.isSomethingSelected(arg0);
              selenium.isTextPresent(arg0);
              selenium.isVisible(arg0);
              selenium.keyDown(arg0, arg1);
              selenium.keyDownNative(arg0);
              selenium.keyPress(arg0, arg1);
              selenium.keyPressNative(arg0);
              selenium.keyUp(arg0, arg1);
              selenium.keyUpNative(arg0);
              selenium.metaKeyDown();
              selenium.metaKeyUp();
              selenium.mouseDown(arg0);
              selenium.mouseDownAt(arg0, arg1);
              selenium.mouseDownRight(arg0);
              selenium.mouseDownRightAt(arg0, arg1);
              selenium.mouseMove(arg0);
              selenium.mouseMoveAt(arg0, arg1);
              selenium.mouseOut(arg0);
              selenium.mouseOver(arg0);
              selenium.mouseUp(arg0);
              selenium.mouseUpAt(arg0, arg1);
              selenium.mouseUpRight(arg0);
              selenium.mouseUpRightAt(arg0, arg1);
              selenium.notify();
              selenium.notifyAll();
              selenium.open(arg0);
              selenium.open(arg0, arg1);
              selenium.openWindow(arg0, arg1);
              selenium.refresh();
              selenium.removeAllSelections(arg0);
              selenium.removeScript(arg0);
              selenium.removeSelection(arg0, arg1);
              selenium.retrieveLastRemoteControlLogs();
              selenium.retrieveLastRemoteControlLogs();

No comments:

Post a Comment

TestNG - Can i use the 2 different data providers to same @test methods in TestNG?

public Object [][] dp1 () { return new Object [][] { new Object [] { "a" , "b" }, new Obje...