How Can I store all searched values from table to a list? I am unable to locate table result.
WebElement names = driver.findElement(By.xpath("//*[@id='idnumber']/div[3]/table"));
Thread.sleep(100000);
List<WebElement> TotalRowCount = names.findElements(By.xpath("//*[@id='idnumber']/div[3]/table/tbody[2]/tr"));
System.out.println(TotalRowCount);
Even for this basic code, it's giving an error that it's unable to locate element.
First I want to find element from table and I want to select radiobutton of that searched value. Please help us.