Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Code:
- //setup localization setting
- WebElement we = selenium.findElement(By.cssSelector("a[id='workflowqueryrefresh']"));
- s_log.info(we.getText());
- s_log.info(we.getTagName());
- s_log.info("doing click");
- we.click();
- s_log.info("click is done");
- Output from log:
- [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - Refresh Workflow Query
- [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - a
- [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - doing click
- [INFO ][main][] 07/22/2011 15:24:34 - main.TestCase1058SearchForEventByStatus - click is done
- While the log says it is doing the click, nothing actually happens in the browser.
- Using selenium 2.0.0 jar (standalone) and firefox 5.
- Code works ok in ie 8.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement