Category: Automation Testing

  • Switching between Iframes

    Switching between Iframes

    there are cases where an object is located in an Iframe ( web text editors is a common case ) but a common rule is . The iframe is often used to add content from other sources like an advertisement into a web page. The iframe is defined with the <iframe> tag. When we want…

  • Selenium Selectors

    Selenium Selectors

    Selenium offers a number of build in selectors to easy find elements in the application under test class name Locates elements whose class name contains the search value (compound class names are not permitted) css selector Locates elements matching a CSS selector id Locates elements whose ID attribute matches the search value name Locates elements…

  • Selenium Waits

    Selenium Waits

  • JUnit Annotations Explained

    JUnit Annotations Explained

    @Before is executed before each test, @BeforeClass runs once before the entire test fixture. If your test class has ten tests, @Before code will be executed ten times, but @BeforeClass will be executed only once. In general, you use @BeforeClass when multiple tests need to share the same computationally expensive setup code. Establishing a database connection falls into this category. You can move…

  • Selenium Hello World

    Selenium Hello World

    A “Hello, World!” program generally is a computer program that outputs or displays the message “Hello, World!”. Such a program is very simple in most programming languages, and is often used to illustrate the basic syntax of a programming language. It is often the first program written by people learning to code.[1][2] It can also…