How to create a module in ATF and navigate there as a User

Sn_devT
Tera Contributor

Hi,

 

I want to create an ATF Test in which ich create a temporary module out of the sys_db_object form and also set a filter while creating that module. Then I want to impersonate a User and navigate to that module I have just created 

 

 

1 ACCEPTED SOLUTION

Tanushree Maiti
Giga Patron

Hi @Sn_devT 

 

I will recommend you not to run tests using ATF that can read system-level configurations and meta-tables sys_db_object (backend table) in your instance. It is not at all good practice.

 

What is the business justification for this requirement or you are just doing POC.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin:

View solution in original post

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

Hi @Sn_devT 

What is the use of this? Creating a module means creating a table, and I doubt we can access the sys_db_object table in ATF.

*************************************************************************************************************
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/dratulgrover [ Connect for 1-1 Session]

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

I want to trigger a query range error by impersonating as a User and navigating to that newly created Module (which I want to filter with a LIKE*^  string in the process of creating that module). So when the impersonated User navigates to that module I can check if a query range error exists. 

Tanushree Maiti
Giga Patron

Hi @Sn_devT 

 

I will recommend you not to run tests using ATF that can read system-level configurations and meta-tables sys_db_object (backend table) in your instance. It is not at all good practice.

 

What is the business justification for this requirement or you are just doing POC.

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: