add troubleshooting.cn.md

add real-devices.cn.md
update the cn doc to the latest
add saucelabs-repository in pom.xml in testng example
This commit is contained in:
seveniruby
2013-10-25 11:35:21 +08:00
committed by testerhome
parent 67ff4b8da8
commit 63aa6e1509
6 changed files with 155 additions and 5 deletions
+13 -1
View File
@@ -62,5 +62,17 @@
</plugins>
</build>
<repositories>
<repository>
<id>saucelabs-repository</id>
<url>https://repository-saucelabs.forge.cloudbees.com/release</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
</project>
+1 -1
View File
@@ -28,7 +28,7 @@ class SettingsTest < Test::Unit::TestCase
@driver=init
end
def test_settings
#flick the screen until find the Aboud phone item
#flick the screen until find the Aboud phone item
while @driver.find_elements(:xpath, '//text[@text="About phone"]').count==0
begin
@driver.execute_script 'mobile: flick', :startY=>0.9, :endY=>0.1