Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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. This video is part of the ServiceNow System Administration Fundamentals Training Playlist. Please consider subscribing to our channel for more ServiceNow, IT, and military content. Check ...