??????????????????????????????????????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???У????????????????????