Selenium Programming

Sunday, July 12, 2015

Frames

  • Frame:
  • Here we are trying to click the link, that is inside the frame.

    driver.switchTo().frame("<name of the frame>");
    driver.findElement(By.linkText(<"name of the text>")).click();

    driver.findElementt(By.tagName("frame")).size() --- gives number of frames available

    -

     
    Posted by Sreekanth's Projects at 9:26 PM
    Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

    No comments:

    Post a Comment

    Newer Post Older Post Home
    Subscribe to: Post Comments (Atom)

    About Me

    Sreekanth's Projects
    View my complete profile

    Blog Archive

    • ►  2020 (2)
      • ►  April (2)
    • ►  2019 (3)
      • ►  November (1)
      • ►  October (1)
      • ►  February (1)
    • ►  2018 (4)
      • ►  September (1)
      • ►  January (3)
    • ►  2017 (4)
      • ►  July (4)
    • ►  2016 (13)
      • ►  March (4)
      • ►  February (2)
      • ►  January (7)
    • ▼  2015 (24)
      • ►  December (1)
      • ►  September (3)
      • ►  August (2)
      • ▼  July (18)
        • Support
        • How to validate usage of selection of multiple opt...
        • Handson
        • Selenium RC to WebDriver migration
        • Frames
        • Handling External files
        • POM --- Page Object Model
        • Grid
        • Implicit and Explicit waits
        • AutoIt
        • JUnit
        • Alert box, pop ups, secuirty pop ups etc
        • Get Control on the window
        • Action class, mouse over actions
        • Profile --------SetProperty and including the sett...
        • Locators or Idenfying web elements
        • Drivers for the browsers
        • Selenium(WebDriver) Benefits/Notes
    • ►  2014 (6)
      • ►  December (1)
      • ►  February (5)
    Simple theme. Powered by Blogger.