Xpath not available in https://developer.servicenow.com

dianauricariu
Tera Contributor

I'm trying to make an automated test with a simple login from developer.servicenow.com. However I'm facing an issue that is baffling me. It seems that xpaths are somehow blocked and cannot retrieve them. For instance even though I have elements like span or button, when I try to retrieve them I get nothing in return. As seen in the attachment, there are obviously spans and button on the page, but the console returns nothing. Is there something I'm missing?

3 REPLIES 3

_ChrisHelming
Tera Guru

@dianauricariu wrote:

I'm trying to make an automated test with a simple login from developer.servicenow.com.


What is your use case? Why are you trying to make automated tests against the developer site?

Hello,

I want to implement an automated test to check the connection between my internal application & ServiceNow connector, using the personal development instance. Is this something against community guidelines or regulations?

I would assume that the PDI infrastructure is completely unrelated and I'm not sure what logging into the developer site, specifically, would gain you. If you're just trying to test if something is up, you can do a rest message and check for a 200 HTTP status.