???UI????????????NativeDriver VS Robotium
???????????? ???????[ 2014/6/25 15:43:55 ] ??????????? ????????????
??????????????????????????????????????Robotium????????д??????????????淢????NativeDriver??????д????? ???????????????????????д?????????з?????Щ??????????????????????????????????????????????????????????????Щ?? ????????????????????????в????????????????????????????????NativeDriver???????????????UI????????
????NativeDriver??
????????????http://code.google.com/p/nativedriver/
???????
????1????????android??????????????????IOS???????????????windows?????????У?????????????????????????????????????API??д??????
????2?????WebDriver API??selenium2.0???????WebDriver ?????е?????????????WebDriver?????????????????PS?????????WebDriver???п?????£?
????3????????selenium RC?????????в???????????????????NativeDriver????????????????http+json????????????server???????????????????
????4????????????????????hierarchyviewer???????????????ID?????????????λ
????5?????WebView???
???????
????1??????????????????????server-standalone.jar????????AndroidManifest.xml?????????build???????????????
????http://code.google.com/p/nativedriver/wiki/AndroidMakeAnAppTestable
????2??????NativeDriver????API??????Щ?????????????????????
????3??ò???????wait????api???????????????????????????????????
????4????????д????????????????????????????????????????????????????????????????????????????л????????????????????sendKeys?????????click???????????
????WebElement passWord = driver.findElement(By.id("PassWord"));//??????id?PassWord????
????passWord.clear();//??????????
????passWord.click();//?????п?????????????????
????passWord.sendKeys("123");//?????????????
????5?????????????????????????????????????????????????????API???У????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11