Results (
Thai) 1:
[Copy]Copied!
Our automated tests rely on WebDriver,now part of the open sourceSelenium test-automation projectand known as Selenium 2.0. WebDriveraims to interact with a given Webbrowser as a person would; for example,keystrokes and mouse clicksare generated at the operating-systemlevel rather than being synthesizedin the Web browser. We describe thisas generating native events. SometimesWebDriver cannot generate nativeevents because of the technicallimitations of a particular operatingsystem or Web browser, and it mustcompensate by using alternative inFigure4. Typical navigation flows.Horizontal, then vertical, flowVertical, then horizontal, flowFigure 2. Testing for forward tab counts.Tab counts 123 4Button ButtonFigure 3. Testing for reverse tab counts.Shift+Tabcounts876 5Button Buttonpracticefebruary 2011 | vol. 54 | no. 2 | communications of the acm 49put methods. For the keyboard navigationtests, though, generating nativeevents is essential to establishingthe fidelity of the tests.WebDriver works with the majorityof popular desktop Web browsers,such as Firefox, Internet Explorer,Opera, and even includes the Webbrowsers on Android, iPhone, andBlackBerry devices. This broad reachmeans we can run our tests on themost popular browsers, which helpsincrease the usefulness of the tests.
Being translated, please wait..
