I am stuck with handling Bootstrap popover used as validation messages in a form. I don’t find a way to inspect those as its element locator does not shows up in Dev tool.
Is there a way to handle bootstrap popover in Katalon ?
Could not be inspected using Dev Tool Check below image: While Inspecting, mouse pointer does not highlight this element.
And then it disappears
Just a guess, it’s a web component, using a shadow dom. To confirm, dig out what you can from DevTools and read about the relevant component in the Bootstrap docs. You might also search the web for “bootstrap automation testing” or similar to see how others might be doing it.
Hi @write2amitv, I have the same issue that I need to verify if the error message is displayed for any field and those errors are thrown from the bootstrap popover. I looked into your solution but for me is_valid always returning false even though there is an error message. Are you still using the code and how is it working for you and what changes you made for that code.
My sample code is
WebElement field = driver.findElement(By.xpath(‘//input[@id=‘frstNm’]’))
Thanks for your comment. it is working fine. The mistake I did was without entering the data into the field I was trying to check the message and so its returning false everytime. I thought the check is done only when the popover message is displayed which is wrong.