• Selenium – For loop to navigate to the web element list and verify list item.

    July 24, 2020 by

    Step 1: Store item of the list in a List using findElements List<WebElement> searchResultlist = Driver.driver.findElements(By.xpath(“//span[@class=’document-name’]”)); Step 2: Use for loop to traverse in the list and verify the text using IF condition. To make sure input by the user and text from the application are in same case, convert both the strings in UPPER… Read more

  • How to set JAVA Path in Linux machine

    December 9, 2019 by

    Run below command to install JAVA yum install java-1.8* Once the installation is completed, run below command to check JAVA Version. java -version Above command should give you the following result. openjdk version “1.8.0_232” OpenJDK Runtime Environment (build 1.8.0_232-b09) OpenJDK 64-Bit Server VM (build 25.232-b09, mixed mode) Run below command to find the JAVA path.… Read more

View all posts

Follow My Blog

Get new content delivered directly to your inbox.