This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function MyUIAElementArray(elements) { | |
this.elements = elements; | |
this.length = elements.length; | |
this.toArray =function(){ | |
return this.elements; | |
} | |
this.firstWithName = function(name) { | |
for( i = 0; i < this.elements.length; i++) { | |
var current = elements[i]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this._loadTree = function(uiaElement) { | |
this.root = this._buildNode(uiaElement); | |
} | |
this._buildNode = function(uiaElement){ | |
var node = new Node(uiaElement); | |
var uiaChildren = uiaElement.elements(); | |
var size = uiaChildren.length; | |
log("building"+uiaElement+'children: '+uiaChildren.length); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"criteria": "OrCriteria", | |
"criterias": [ | |
{ | |
"class": "UIAButton", | |
"criteria": "ClassCriteria" | |
}, | |
{ | |
"criteria": "NameCriteria", | |
"name": "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.ebay.ieapp; | |
import static com.ebay.support.IOSListener.getSession; | |
import java.io.File; | |
import org.testng.Reporter; | |
import org.testng.annotations.Listeners; | |
import org.testng.annotations.Test; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Eclipse Workspace Patch 1.0 | |
#P selenium | |
Index: java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java | |
=================================================================== | |
--- java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java (revision 16072) | |
+++ java/client/src/org/openqa/selenium/firefox/FirefoxBinary.java (working copy) | |
@@ -19,8 +19,10 @@ | |
import static java.util.concurrent.TimeUnit.SECONDS; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
VERSION="2.20.1" | |
cd ~/workspace/selenium | |
./go release | |
mvn install:install-file -DgroupId=org.openqa -DartifactId=selenium-server-standalone -Dversion=$VERSION -Dpackaging=jar -Dfile=/home/freynaud/workspace/selenium/build/dist/selenium-server-standalone-$VERSION.jar | |
scp ~/workspace/selenium/build/dist/selenium-server-standalone-$VERSION.jar [email protected]:/home/share/file/grid/selenium-server-standalone-$VERSION.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"nodes": [ | |
{ | |
"name": "spine-mint1", | |
"vmId": "421e5c0f-4e64-5611-f12f-c6c50b12c5c9", | |
"template": "linux" | |
}, { | |
"name": "spine-mint2", | |
"vmId": "421ebdad-d690-990b-a822-7d737eec19cd", | |
"template": "linux" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"templates": [ | |
{ | |
"name": "linux", | |
"request": { | |
"capabilities": [ | |
{ | |
"browserName": "firefox", | |
"version": "3.6", | |
"maxInstances": 5, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.ebayopensource.twin.Application; | |
import org.ebayopensource.twin.Criteria; | |
import org.ebayopensource.twin.MouseButton; | |
import org.ebayopensource.twin.Screenshot; | |
import org.ebayopensource.twin.element.Menu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.File; | |
import java.io.IOException; | |
import java.net.MalformedURLException; | |
import java.net.URL; | |
import org.ebayopensource.twin.Application; | |
import org.ebayopensource.twin.Screenshot; | |
import org.ebayopensource.twin.element.Window; | |
import org.openqa.selenium.OutputType; | |
import org.openqa.selenium.TakesScreenshot; |