how to test backend of a custom built service portal application in servicenow ?

Chandan_23
Tera Contributor

I'm trying to test a custom application built on servicenow using service portal , widgets etc.

in the code of the application we have used html , css, angular js and for backend it's servicenow tables to store the data.

I tried ATF in service now but as it was a custom built so some of the component on the page were not retrievable and gave a lot of errors . And along with that same test cases which were being successful were also being failed , it's like there's a half and half possibility of test run  to give success or failure .

 

I tried to test the application using selenium but all i could do was UI testing so to do backend testing of the data in the table the service now has many restrictions so i could'nt access the data in that  table .

 

 

so it would be very helpful if I could get any help to do backend testing .

thank you .. 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Chandan_23 

What do you mean by Backend testing , like script is working or something else. Inthis case use manual way to test is good way. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Chandan_23
Tera Contributor

i wanted to know apart from UI testing of custom portal application , what are the other testing that can be done using selenium , mocha ? 

as I found API testing cannot be done as the table API's are from service now and there's nothing to be done over there and as for the database testing is concerned while we create a table all the necessary things are taken care by servicenow and it makes us create as conditions are laid beforehand.

 

thank you !

Hi @Chandan_23 

 

https://www.servicenow.com/content/dam/servicenow-assets/public/en-us/doc-type/success/quick-answer/...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************