Java

JAVA PROGRAM TO CHECK IF TWO STRINGS ARE ANAGRAM OR NOT

  Two   Strings  are  said  to   be   anagram   if   you   can  form  one  string   by  arranging  the  characters   of  another  string .  For  example :  Earth  and  Heart , Care  and  Race, Keep  and Peek  etc.       Approach :   In  this  approach ,  the  idea  is  that  if  two  strings  are  anagram, […]

JAVA PROGRAM TO CHECK IF TWO STRINGS ARE ANAGRAM OR NOT Read More »

HOW TO HANDLE DYNAMIC ELEMENTS IN SELENIUM

  Dynamic  elements  are  web  elements  which  are  dynamically   generated   during  runtime .  Dynamic  identifiers  can  be  for  any  web elements  of  the  web  page  but  normally  used  for  buttons ,  text fields  etc.     e.g. <button  id=”Submit-901″/> <button  id=”Submit-902″/> <button  id= “Submit-903″/>     Handling  dynamic  ekements  in  Selenium  involves  using  flexible  locators  and 

HOW TO HANDLE DYNAMIC ELEMENTS IN SELENIUM Read More »

SYNCHRONIZATION IN SELENIUM

  Synchronization  in  Selenium  is  the  process   of  matching  the   execution  speed  of  the  test  script  with  the  loading   speed   of  the  application   under  test .  Synchronization  prevents  errors  such  as  NoSuchElementException   .           How  to  achieve  synchronization   in  the  Selenium   WebDriver ?     Synchronization  in  selenium  is  very  important 

SYNCHRONIZATION IN SELENIUM Read More »

SELENIUM XPATH

    XPath (XML Path  )  is  a  powerful  Selenium  locator   strategy  which   are  used  to  navigate  and    find   elements   in  a   web    page’s   HTML   structure .        What  is  XPath?     Xpath  is  XML  Path  language  which  is  an  expression  language  that   is  used   to   find  the  web  elements

SELENIUM XPATH Read More »

Java Collections Framework

  Java  collection  framework   is  a  set  of   classes  and  interfaces  that  provides  built-in   data  structures   to   store  and  manipulate  groups  of  objects  efficiently  . This  java  collection  framework  is  found  in  java.util  package. Java  collection  framework   allows  you  to  manage   data  efficiently  through  high  performance   data  structures   and   polymorphic  algorithms   like   searching  and  sorting.

Java Collections Framework Read More »

JAVA MULTITHREADING

  Multhreading  in  Java  is  a   process  that  enables   a  program  to  run  multiple   threads   simultaneously , allowing  multiple  tasks   to  execute  in   parallel   and  utilize  the  CPU  more  efficiently .   A   thread  is  an  independent , lightweight  unit of   execution   inside  a  java  program .       Threads  allow   parallel  execution    of 

JAVA MULTITHREADING Read More »

LOCATORS IN SELENIUM

  Selenium  locators  are  used  to  uniquely  identify  the  HTML  elements  and  interact  with  these  HTML  elements such as  button,text  boxes , links  etc. in  the  Document  Object  Model (DOM)  during  automation.           Selenium  WebDriver  supports  8  primary  locator  types  through  the  By  class.   ID:  This  locator  locates  the  elements 

LOCATORS IN SELENIUM Read More »

How to Become an Expert in Any Programming Language

      Expertise  in  any  programming  language   is not merely about memorizing syntax; it is about internalizing computational thinking, understanding the machine beneath the abstraction, and developing the discipline to write code that is not just functional, but elegant and maintainable.     Whether you choose  Java,Python, Rust, JavaScript, or C++, the journey to

How to Become an Expert in Any Programming Language Read More »

SELENIUM WEB ELEMENT

    Selenium  Web Element  is  an  object   representation  of  HTML  element   on a  Web page , such as  button , text box  or  link  which  can  be  interacted  with  using  Selenium  WebDriver  commands . Selenium  WebElement  provides  methods  for  inspecting, locating  and  manipulating  these  elements  for  automating  browser  interactions .        

SELENIUM WEB ELEMENT Read More »