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
<dependency> | |
<groupId>org.seleniumhq.selenium</groupId> | |
<artifactId>selenium-java</artifactId> | |
<version>2.3.1</version> | |
</dependency> |
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
new WebDriverWait(driver, 45) { | |
}.until(new ExpectedCondition<Boolean>() { | |
@Override | |
public Boolean apply(WebDriver drv) { | |
return drv.findElement(By.id("stateProvinceDropdown-US")) | |
.isDisplayed(); | |
} | |
}); |
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
/** Like assertEquals, but fails at the end of the test (during tearDown) */ | |
public void verifyEquals(boolean s1, boolean s2) { | |
try { | |
assertEquals(new Boolean(s1), new Boolean(s2)); | |
} catch (Error e) { | |
verificationErrors.append(throwableToString(e)); | |
} | |
} |
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
Checkout from http://google-styleguide.googlecode.com/svn/trunk, revision HEAD, Fully recursive, Externals included | |
C:\styles\styleguide.xsl | |
C:\styles\javascriptguide.xml | |
C:\styles\xmlstyle.html | |
C:\styles\google_python_style.vim | |
C:\styles\google-c-style.el | |
C:\styles\objcguide.xml | |
C:\styles\cppguide.xml | |
C:\styles\intellij-java-google-style.xml | |
C:\styles\styleguide.css |
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
Index: RemoteWebElement.java | |
=================================================================== | |
--- RemoteWebElement.java (revision 13749) | |
+++ RemoteWebElement.java (working copy) | |
@@ -38,7 +38,6 @@ | |
import java.util.List; | |
import java.util.Map; | |
- | |
public class RemoteWebElement implements WebElement, FindsByLinkText, FindsById, FindsByName, |
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 org.openqa.selenium; | |
import static org.openqa.selenium.Ignore.Driver.OPERA; | |
@Ignore(OPERA) | |
public class ClearTest extends AbstractDriverTestCase { | |
public void testWritableTextInputShouldClear() { | |
driver.get(pages.readOnlyPage); | |
WebElement element = driver.findElement(By.id("writableTextInput")); |
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
C:\Documents and Settings\ajk>python -v | |
# installing zipimport hook | |
import zipimport # builtin | |
# installed zipimport hook | |
# c:\python26\lib\site.pyc matches c:\python26\lib\site.py | |
import site # precompiled from c:\python26\lib\site.pyc | |
# c:\python26\lib\os.pyc matches c:\python26\lib\os.py | |
import os # precompiled from c:\python26\lib\os.pyc | |
import errno # builtin | |
import nt # builtin |
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
Index: android.rb | |
=================================================================== | |
--- android.rb (revision 13816) | |
+++ android.rb (working copy) | |
@@ -77,11 +77,11 @@ | |
$properties = $sys_properties.read_properties() | |
$sdk_path = $properties["androidsdkpath"] | |
$platform = $properties["androidplatform"] | |
- $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb")) | |
+ $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb.exe")) |
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
Index: android.rb | |
=================================================================== | |
--- android.rb (revision 13816) | |
+++ android.rb (working copy) | |
@@ -77,11 +77,11 @@ | |
$properties = $sys_properties.read_properties() | |
$sdk_path = $properties["androidsdkpath"] | |
$platform = $properties["androidplatform"] | |
- $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb")) | |
+ $adb = Platform.path_for(File.join($sdk_path, "platform-tools", "adb.exe")) |
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
Testsuite: org.openqa.selenium.android.AndroidDriverTestSuite | |
Tests run: 386, Failures: 0, Errors: 1, Time elapsed: 1,512.578 sec | |
------------- Standard Output --------------- | |
Making dirs for path C:\DOCUME~1\ajk\LOCALS~1\Temp\LauncherUtilsUnitTest361099340559259884dir\src-dir (assuming path has not already been created) | |
Making dirs for path C:\DOCUME~1\ajk\LOCALS~1\Temp\LauncherUtilsUnitTest2597230529379230877dir\dest-dir (assuming path has not already been created) | |
Skipping test: unable to find domain name to use | |
Skipping test: unable to find domain name to use | |
Skipping test: unable to find domain name to use | |
Skipping test: unable to find domain name to use | |
Skipping test: unable to find domain name to use |
OlderNewer