Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

shadow xpath in DOM using java selenium?

ReshiN
Mega Explorer

I'm developing an Automation script for the service now application, I'm having the admin access but unable to write the automation codes. I'm unable to find the locators in the Service Now DOM as they are shadow content.  I'm using Java -Selenium for developing the scripts. Can any one help me on that.

 

Thanks 

Reshi N

1 REPLY 1

Rafael Batistot
Kilo Patron

Hi @ReshiN 

May you try to change to UI15 version.

Is an old version of ServiceNow that no use shadow content

https://www.youtube.com/watch?v=QzUzmsZxAtQ

If you found this response helpful, please mark it as Helpful. If it fully answered your question, consider marking it as Correct. Doing so helps other users find accurate and useful information more easily.
This video provides an overview of how to turn off Next Experience and switch to UI16 and UI15 on ServiceNow. 🎓 Start learning ServiceNow today: 👉 Master ServiceNow Admin & Development from basic to pro: https://trk.udemy.com/Gb0EKn 👉 Advanced ITSM with ServiceNow: Optimizing IT Operations: ...