Go for WebUI Automation Coding

I started to work into on WebUI Automation coding project since last Thursday (okie, since Thursday mid night).

Three tools are awesome! (The project is Https Restful services + WebUI)

1. Fidder Web Debugger – http://www.telerik.com/fiddler. To monitor all of the http/https requests/responses/headers/forms, etc.

2. Selenium – WebUI Automation – http://docs.seleniumhq.org/docs/03_webdriver.jsp

3. Firepath + Firebug – discover the xpath/css selector for Selenium.

Oh, just one quick tips, if, you are looking for code to handle a JS dialog, here is your receipt.

            WebDriver driver = YourWebPageInstance.getWebDriver();
            Alert alert = driver.switchTo().alert();
            String s = alert.getText();
            alert.sendKeys("Test Test");