タグ

selenium-RCに関するyifeのブックマーク (3)

  • Selenium 2で非同期処理を待機する5つの方法 - CODESCRIBBLE

    リッチなユーザインターフェースを備えたWebアプリケーションでは、Ajaxやアニメーションなどの非同期処理はよく用いられます。こういったWebアプリケーションをSeleniumでテストする際、従来の静的なユーザインターフェースを持つWebアプリケーションと同じようにテストを作成していると、実際にテストを動かした時に次のような問題が発生することがあります。 存在するはずの要素が見つからない(あるいはその逆) 画面全体、もしくは特定の要素の内容が更新されていない 例えば、以下のようなソースコードです。 ajaxButton.click(); WebElement fooElement = driver.findElement(By.id("foo")); 非同期処理を伴うボタンをクリックした後にfooというIDを持つ要素を探していますが、この要素が非同期処理の完了後に表示される要素であった場合

    Selenium 2で非同期処理を待機する5つの方法 - CODESCRIBBLE
  • Selenium

    Summary:  Nested |  Field |  Constr |  Method Detail:  Field |  Constr |  Method Defines an object that runs Selenium commands. Element Locators Element Locators tell Selenium which HTML element a command refers to. The format of a locator is: locatorType=argument We support the following strategies for locating elements: identifier=id: Select the element with the specified @id attribute. If no ma

  • Selenium

    Registrations open for Appium Conf 2024 online - live on 13 Sep. Register now! Selenium automates browsers. That's it!What you do with that power is entirely up to you. Primarily it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should) also be automated as well. Selenium WebDriver If you want to cr

    Selenium
  • 1