Skip to content

Commit

Permalink
supporting Store command in WebDriver playback. Fixes Issue 5653
Browse files Browse the repository at this point in the history
  • Loading branch information
samitbadle committed May 17, 2013
1 parent 8e25a4d commit d15a34e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 59 deletions.
1 change: 1 addition & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 1 addition & 20 deletions android/android.iml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,9 @@
<component name="FacetManager">
<facet type="android" name="Android">
<configuration>
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/gen" />
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/gen" />
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/AndroidManifest.xml" />
<option name="RES_FOLDER_RELATIVE_PATH" value="/res" />
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/assets" />
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/libs" />
<option name="REGENERATE_R_JAVA" value="true" />
<option name="REGENERATE_JAVA_BY_AIDL" value="true" />
<option name="USE_CUSTOM_APK_RESOURCE_FOLDER" value="false" />
<option name="CUSTOM_APK_RESOURCE_FOLDER" value="" />
<option name="USE_CUSTOM_COMPILER_MANIFEST" value="false" />
<option name="CUSTOM_COMPILER_MANIFEST" value="" />
<option name="APK_PATH" value="" />
<option name="LIBRARY_PROJECT" value="false" />
<option name="RUN_PROCESS_RESOURCES_MAVEN_TASK" value="true" />
<option name="GENERATE_UNSIGNED_APK" value="false" />
<option name="CUSTOM_DEBUG_KEYSTORE_PATH" value="" />
<option name="PACK_TEST_CODE" value="false" />
<option name="RUN_PROGUARD" value="false" />
<option name="PROGUARD_CFG_PATH" value="/proguard.cfg" />
<resOverlayFolders />
<includeSystemProguardFile>false</includeSystemProguardFile>
<resOverlayFolders />
</configuration>
</facet>
</component>
Expand Down
42 changes: 3 additions & 39 deletions android/gen/org/openqa/selenium/android/app/R.java
Original file line number Diff line number Diff line change
@@ -1,43 +1,7 @@
/* AUTO-GENERATED FILE. DO NOT MODIFY.
*
* This class was automatically generated by the
* aapt tool from the resource data it found. It
* should not be modified by hand.
*/
/*___Generated_by_IDEA___*/

package org.openqa.selenium.android.app;

/* This stub is for using by IDE only. It is NOT the R class actually packed into APK */
public final class R {
public static final class attr {
}
public static final class drawable {
public static final int alert_dialog_icon=0x7f020000;
public static final int ic_menu_add=0x7f020001;
public static final int ic_menu_delete=0x7f020002;
public static final int ic_menu_share=0x7f020003;
public static final int selenium_icon=0x7f020004;
}
public static final class id {
public static final int rssWebView=0x7f060002;
public static final int status=0x7f060000;
public static final int webview=0x7f060001;
}
public static final class layout {
public static final int single_session_layout=0x7f030000;
}
public static final class string {
public static final int app_name=0x7f050009;
public static final int ctx_menu_navigate=0x7f050001;
public static final int default_session_status=0x7f050002;
public static final int httpd_already_started=0x7f050005;
public static final int httpd_not_running=0x7f050008;
public static final int httpd_not_started=0x7f050004;
public static final int httpd_not_stopped=0x7f050007;
public static final int httpd_started=0x7f050003;
public static final int httpd_stopped=0x7f050006;
public static final int main_title=0x7f050000;
}
public static final class xml {
public static final int preferences=0x7f040000;
}
}
}
4 changes: 4 additions & 0 deletions ide/main/src/content/webdriver-backed-selenium.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ function webdriverBackedSeleniumBuilder() {

};

WebdriverBackedSelenium.prototype.doStore = function(value, varName) {
storedVars[varName] = value;
};

WebdriverBackedSelenium.prototype._elementLocator = function(sel1Locator) {
var locator = parse_locator(sel1Locator);
if (sel1Locator.match(/^\/\//) || locator.type == 'xpath') {
Expand Down

0 comments on commit d15a34e

Please sign in to comment.