Advertisement
Guest User

Untitled

a guest
Sep 25th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. Code:
  2.  
  3. //setup localization setting
  4. WebElement we = selenium.findElement(By.cssSelector("a[id='workflowqueryrefresh']"));
  5. s_log.info(we.getText());
  6. s_log.info(we.getTagName());
  7. s_log.info("doing click");
  8. we.click();
  9. s_log.info("click is done");
  10.  
  11. Output from log:
  12.  
  13. [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - Refresh Workflow Query
  14. [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - a
  15. [INFO ][main][] 07/22/2011 15:24:33 - main.TestCase1058SearchForEventByStatus - doing click
  16. [INFO ][main][] 07/22/2011 15:24:34 - main.TestCase1058SearchForEventByStatus - click is done
  17.  
  18. While the log says it is doing the click, nothing actually happens in the browser.
  19.  
  20. Using selenium 2.0.0 jar (standalone) and firefox 5.
  21. Code works ok in ie 8.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement