Video: Reduce Manual Testing With ServiceNow’s Automated Testing Framework | Duration: 3508s | Summary: Reduce Manual Testing With ServiceNow’s Automated Testing Framework | Chapters: Welcome and Introduction (5.28s), Speaker Introduction (95.58s), ATF Introduction (150.29s), ATF Use Cases (283.495s), ATF Architecture (387.465s), Scheduling Automated Tests (713.69s), ETF for Upgrades (927.855s), Real World Use Cases (1162.66s), ATF Benefits Impact (1473s), ATF Manageability (1739.25s), ATF Demo Transition (2260.4s), Live ATF Demo (2305.425s), ATF Testing Features (2471.015s), Testing and Screenshots (2596.54s), Catalog Testing Methods (2713.705s), ATF Component Testing (2862.45s), ATF Failure Handling (3014.26s), REST API Testing (3125.775s), Q&A and Conclusion (3232.34s), Closing Remarks (3440.865s)
Transcript for "Reduce Manual Testing With ServiceNow’s Automated Testing Framework":
Hello, everyone. Welcome or welcome back to another Now Ben webinar. This time covering ServiceNow's automated testing framework and how this can ultimately help reduce manual testing across your organization. Before we get started, just some general housekeeping, points. This session is being recorded, and that will be shared in our follow-up email for you to revisit any key points at your own time. You are in listen only mode, so please do engage in the chat. We also have Reacts as well, which is a new feature on this webinar platform. So feel free to send in your thumbs up, your hearts, whatever it is, if something is resonating with you. There will be a q and a session at the end, so do submit your questions throughout, and we'll get around to as many as possible, at the end. And I will also be sharing a feedback survey at the end as well because it'll be great to kind of hear your thoughts on your experience at today's session, and it's also a great way for us to improve the webinars for you in the future as well. So there's lots of exciting stuff happening in the Now Ben space. If you aren't already aware, Now Ben hopes to support the ServiceNow community with content that helps you understand a little bit about what's happening across the platform and where it's all heading. And that means looking at the bigger picture topics, like business direction and also any acquisitions as well. And we're also exploring the technical side in a way that feels practical and relevant to you as our audience. And we do that through newsletter, articles, this webinar, and there's lots more coming soon as well. But without further ado, I would love to welcome to the stage our speakers for today. We have Shama Salhotra, technical architect, and Anjali Chaudhary, technical architect as well. If you'd love to join me up on stage. Hi, Sharma. Ma'am. How are you? Well, she are doing good. Thank you so much for giving me this wonderful opportunity. No worries. Thank you so much for sharing your time with us, and hi, Angelie. I will hand it over to you and, yeah, let you get on with the content. Alright. Hello, everyone. And my name is Anjali, and I'm a service now technical consultant with twelve plus years of experience. And without wasting much time, let's start, you know, with this presentation on ATS. I will be sharing my screen quickly. Okay. So I'll also brief about myself. Hi, everyone. My name is Shama Niggi. I've been working in ServiceNow for last thirteen years, and, we are playing the role of, service starting legal architect here. Okay? Or do you? Alright. Thank you, Sharma. So today, what we are going to cover is all about ATF automated testing framework. So what is ATF? Why it matters? Where it fits? What is the ETF architecture? How do we build, customize, and test the ETFs? Why ETFs are important for upgrades and regression testing? The real time use case benefits. How do we manage ETFs, and some best practices around it. And in the end, we will go with the live demo. So before starting with why ETF matters, the first thing that come is, what is ETF? So it is basically a built in low code, no code tool, which is designed to automate functional testing and regression testing within this AvastNow instance. And the major area where it provides benefits to the organization is handling the upgrades testing, handling the regression testing when we have lot of customizations on the system. So why it matters? When manual testing becomes slow, risky, or we do not have enough team to manage the manual testing, there the ATF helps out. And few areas would be when we have frequent platform changes, when there are a lot of application customizations, when we have to do multiple regression, testing of an instance due to multiple scenarios, or the most important thing is upgrade validation. Going to the next slide where we are talking about where ETF fits in. So as as I've already told into the overview, it fits in almost everywhere in the ServiceNow environment. Day to day, when developments are being done in the form of stories, in the form of task, and we have to do the testing. So there, we can have ETFs designed. Second, regression testing. Regression testing. What's regression testing? When we want to thoroughly test our instance to make sure all the applications, workflows, customizations are working fine, and they are having the expected behavior that customer is looking for. So there again, ETF fits in. Rather than spending lot of time in doing manual testing or rather than having a set of people sitting and doing the testing of each and every module one by one, ATF gives a very better opportunity there to reduce the time. Upgrade readiness. As we all know, ServiceNow goes through upgrades. Every every year, there are two upgrades. Right? So having the team dedicatedly set and doing the manual testing of the entire system when we have customizations in place, so many forms, workflows to test, and it consumes a lot of time there the ATF comes in. And the last point, release validation. This is about the day to day developments that we are doing and we are deploying to the production, making sure they pass through the ATF. ATFs are successful, and then only we deploy them to the next instance. Coming to the next site, ATF architecture. Shama, I'll hand it over to you from. here. Yeah. Thank you so much. You wonderfully explained by Anjali that, you know, why exactly the need of having the ATM in place. Right? As we all know that nowadays, we are more dependent towards ATM. Right? Initially I mean, earlier days, we used to, you know, dependent on the manual testing, you know, go and write each test case, you know, manually doing the testing. Now we are dependent on our ATFs to make sure that the release are fully automated. Right? There is no need to actually go and, you know, hassle more. There is everything which is already done in ServiceNow. We can just simply, turn on and we can just, you know, test it on, the suites that we have, the ETF suites, and it can actually do do the purpose for us. Now I talk about the ETF architecture. What exactly ETF architecture is? Right? So ServiceNow has defined all the architecture of ETM in such a way that we have test definitions. We have ATM engines. How exactly the system works. Right? We define the test suites first. Test suite is the parent, you know, parent component for us. Under the test suite, we actually go and define the test cases. Right? So each test case, contains multiple test steps within that. Right? So if you talk about the umbrella at the top, the first one, you know, talks about the ATF suites. Under suites, we have ATF test cases. Under that, we have multiple test steps. Right? And inside the test, test steps, we can actually enable multiple configurations to it. Right? If I talk about configurations, that means I can actually go and create a record. I can update my record. I can actually create. I can test. I can validate also. I can do n number of, you know, operations by using all my step configurations. Even nowadays, I can also, you know, create my own tester. Right? In case if I want to do anything which is not created, which is not available out of the box, I can go ahead and I can actually enable that for me. Right? So it is also possible. Now once you create the test definition, it goes to the test engine. We have run test option available. We have debug test option available. With the help of run test and debug test, we can actually allow our EDF to go ahead and run those tests for us and give us the screenshots, give us the test results, how many tests are failed versus how many are passed. You get all that information under test results. Test results is kind of output for us when you get to know that how many tests are passed, how many are failed, and if your any of the steps, yeah, which you have written into your test case, if it is failed, you also get the reason of the failure as well. Right? So that you can actually go and you can resolve the reason, and it should not impact your test speeds at all. Right? So this is all about that, ATM architecture that we have. If you move to the next slide, please. So now we talk about how exactly we are going to build and test the ATF. Right? It is very easy. Right? It's just about you should know the test the test cases that you have. Right? Take an example that I am going to test whether my incident creation is happening or not. So after upgrade, it might happen in some of the components that I have customized or configured. Right? That might not work. Right? So how will I test that? Either I'm fully dependent on my, testers. Right? That they they will go ahead. They will actually run the test. They will, you know, execute each operations one by one, and then they will go ahead and run that. Right? However, the second option that I have, I can simply go. I can, you know, run my test, which is already created. Now what exactly I have to do is I'll just go to my all application at the top. I'll just open my automated test framework application. Under that, it will ask me to create a test case. I can go ahead and open a new test. I can give my name of the test there. I can, describe what description, you know, for which I'm writing this test, step against. I can go ahead and add multiple test steps within my test case. So, take an example that I'm creating an incident. So first is, we have to make sure as for the best practice, the first step for every test case should be that I have to impersonate the persona. Right? So, while impersonate a persona, service now recommends that never impersonate a persona because it might happen that if you're, if you're impersonating a persona, right? That exist on your dev environment. However, it might not exist in your other environment. Always best practice, which is suggested by ServiceNow is go ahead and create a user. You also have in, test step, which is create a user. When you create a user, you also have an option to give the required roles and the groups to that particular user so that you can actually go and run the test step against that user. So once you add that test step, you will go ahead and create the incident record. By creation, you will just set all the values there. You will set the values. After you set the values, you will just click on submit my record. Right? So very simple, but, you know, you have to define the sequence of it. Right? So first, you go and create a user. You impersonate from that user. You'll just create the incident record. So this is how you're going to define the execution order. And then at the end, you will just go and run and review your results whether my ETF, whether my incident is created or not. If yes, what is the value that has been said here? If yes, do I get the society of that? So everything is properly documented in the test results, and you can get all your, you know, successful results there. So over to you for the next set of the slides. Yeah. I don't do this one. The very amazing part about ATSS, it provides an option to capture the screenshots, whether you want to have the screenshot of the half screen or full screen. So there, you can exactly see what is failing. So that is one of the very, you know, amazing feature we have. We are for each and every step, we have these screenshots that we can see. And ServiceNow provides the property for that whether we want to have it or not. We can decide that through the property. Coming to the next slide, which where we talk about scheduling and testing of an ETF, testing on an ETF. So once the ETF is developed, Shama has already mentioned, there is a button on the top where we can go and we can test the ETF. We can run the ATF, and it provides us deep results. But the amazing feature that comes is scheduling the testing. When we know that we are occupied, we do not have time, or maybe, there is a product owner, platform owner, business analyst who are currently wanted to test some of the features, let's suppose, want to test the features of incident module and do not have enough time to set and see how my 10 or 15 ATFs are running. Okay? So there, the scheduling comes into the picture where, basically, we can set the date and time when we want to execute a retif. It could be weekend, weekday, day, night. Whatever test suit we want to, you know, test, we need to design the test suit. In that test suit, we have to provide the schedule under what schedule we want the testing to be done. And once the time would be coming, the active execution would happen in the back end. You do not have to log in into the system. You do not have to sit and observe what is happening there. You know? The testing would be done in the back end. Maybe by the next week, the, you know, the person is coming back. He can go and he can see what are the test results. He can see the logs. The person can see these screenshots, and ServiceNow also sends the notification. Once the testing is done, the notification is being sent out to the person to let them know that the testing is done. And then when they come back, they can see the results. Accordingly, they can decide what needs to be done, what is failing, what is passing. So this is, again, one of the amazing feature that ServiceNow provides, scheduling the testing where we do not have to sit and spend time and observe what system is doing. Shamay, you want to add on anything on this slide? Absolutely. I agree with you. So, you know, it's as easy as just scheduling, you know, some activities. So take an example that you have to send an email. Right? So if you're sending an email, you have to drop that email. You have to wait for that particular day to happen to schedule that. Right? But now you can easily schedule all the test steps. So you already know that, you know, next week is my upgrade date. Right? So you can actually schedule it before the upgrade or after the upgrade to find out the comparison, the difference, what exactly the difference created after my upgrade or the release has happened. Right? So it is as easy as making sure that my system would run automatically if I just scheduled it once. So it is giving that, you know, like, kind of, easibility, the, you know, the I mean, how easily we can actually utilize all the features here. Alright. Coming to the next slide, which is, I would say, this is the highlighter. ETF, we literally suggest to start using automated testing framework for upgrades because we know every year, one or two upgrades we have to do. And there are lot of test cases we have to test. There are a lot of modules we have to make sure after the upgrade, the modules, the applications works fine. So how ETF helps or how we can use ETF during the upgrade, basically, what we need to do before the upgrade is started, we suggest that we go and we run all the test suits, test cases for different different applications. So we get the results into the dashboard before upgrade how my system is working, how many past ETFs are there, how many failed ETFs are there. If they are failing, what is the what are the reason? Why are they failing? Do we need to resolve those issues before upgrade, or what we need to do? So we would be having all that data already with us. Now upgrade is done on dev instance, let's say. Once the upgrade is done, the second thing that we say is rerun those test cases again. So there, we have the result before running the before running the upgrade. And now after running, when we do it again, we would be having the second level of results. So now we can do the comparison. How many ETFs failed before? How many ETFs failed after? What is the percentage? What is there into the system which is breaking because of upgrade? Because we will get to know. Let's say we have the incident ATF that executed very well before upgrade, but after upgrade, it's failing. So as we already said, there are the screenshots. There is the exact step where we can see what is the reason why it failed. So there we can do the comparison whether that failure is because of upgrade or is there any other functionality which is being broken. So that is the third thing that come into the picture, comparing results to detect the failures and to see what are the behavior changes before upgrade and after upgrade. So where it helps? It helps in faster remediation. We do not have to see, if we will be doing the entire testing manually, again, we need to have a set of people who would be sitting, who who would be doing the testing one by one. If we take a very small example, like, we have to do the testing of change module. There are three kind of changes, normal, standard, emergency. Each change, we have to impersonate, fill out the form, do the scheduling, run it, fill it, impersonate with different different user. So I suppose testing one kind of change request, you would be needing five to ten minutes. Right? If you have ATF in place, nothing nothing you have to do. You just go. You run your ATF, and you will get to know what is there, which is breaking, or if it is working fine or not. So that is how it provides the faster remediation. And, of course, it it makes you ready for the release readiness. It gives you the better quality. It reduces the risk when you deploy your when you deploy your changes to other instances or when you are upgrading the test instance after dev, you already know what is there, what is breaking, what is working fine, what is the new thing which are coming due to upgrade. And it gives you the confidence that, you know, the upgrade is fine and all the ATFs are running exactly the way we want it to be, and we are happy to go and do the upgrade on test instance. So that is how it really helps in upgrades and doing the regression during the upgrades. So, Shama, anything you want to add on to this slide? Yeah. I just I I'm just reading, you know, chat at the same time. So I'm seeing that people are asking that when we actually build the ATF. Right? So is ATF compatible to run end to end testing? Right? So I talk about most of the steps, right, which are covered by ATM, which is creation, which is, you know, submitting the card producer, which is, you know, sending an email, which is receiving an email, which is, you know, notification testing, which is also making sure that I can open my workspace page. Right? So almost all the functionality that ServiceNow has given, you might see that there are some limitation which talk about, you know, some browser related, you know, like, UI components. If you have to actually click on something, if you have to actually validate the UI components, I would say, yes. It is feasible. Still, the UI components are feasible in ServiceNow. You have to actually go and, you know, use the click components. There is a specific custom interface that is given by ServiceNow as a part of ATF components. Right? You just go. You just use that custom components. You can actually click on anywhere on the form. Right? You can validate whether that particular dashboard exists. You can also validate whether any report exists. So everything is possible, but you might have to, you know, learn all those practice to make sure that if something which is not given as a part or out of the box by ServiceNow, how you can utilize that, how you can go ahead and you can actually use those steps in ServiceNow API. So most of the things are possible. You you should also know that which step I have to use it here to open my workspace page, my portrait page, my, you know, sending a notification. So to answer the question, yes, it is possible, but you should know all the, you know, like, all the test steps. Right? Which test step should be used at what kind of, you know, use case? Okay. Over to you. Alright. Coming to the next slide where we would be covering real world use case. Shama, you want to add on some use cases over here? Absolutely. So, now you talk about and you have been talking about that we are using a lot on ETF. Right? Now you talk about where exactly you're using it. Right? So take an example that we have to validate the incident, Whether my incident is created or not. Right? Whether I can actually go ahead and create my incident or not. Right? So let's say that I have introduced some changes to my, you know, some enhancements to my incident. Right? Let's take an example that I have introduced one of the major feature major incident. Now I have to check whether my major incident is working or not. How I can check that, right? So I can actually create the ETA for that. I can ask my ETA. I can actually write all my ETA steps inside that and I can make sure that when my ETF runs, it gives me the perfect result to tell me that wedge, whether major incident is working or not. Right? Whether I'm able to see all the components which are related to my major incidents, they are present on my form. I can validate my incident form. I can validate the fields on that. I can even validate the field visibility, whether they are read only, whether they are mandatory, whether they are visible or not. So I can also make sure that I can, you know, like, raise my change request. It could be any any table in service. Right? I can also validate whether my flow is working or not. So take an example that, you know, I have written a flow on my priority changes. Right? So basis on my urgency, my priority is getting updated. I can also validate with my EDF step whether my priority has been changed or not. Right? If I actually change my urgency to two, whether my priority is being updated to two or not. Right? So any any kind of workflows that I have written in my service on platform, I can go ahead. I can validate all that use case there. I can also test my custom applications. I can make sure whatever form, whatever you got producers, whatever workflows that I have, you know, configured, I can go ahead and I can test that. I can also check my role based personas. Right? So as I mentioned in the earlier, slides as well that we can actually create multiple personas. We can also make our test case dynamic. Right? So we can make sure that we can test it from the dynamic personas as well. I can assign different roles, different groups to my creator user. I can test from any any, you know, any random persona. So I can give any role. I can give request. I can give, you know, like, agent. I can test all those roles to make sure that whether my system is working as expected or not. I can also validate my approvals. Take an example that, you know, once my request is created, it goes to approval flow. It just check whether it has raised an approval or not. So I can ask my EDF to go ahead and, you know, to validate whether the approval record exists or not. It will give me success or fail. If if the EDF finds that approval record, if you just say that, yes, I got the approval, the result is success. Similarly, just a sample examples. Right? We have just, you know, given few examples for you, but it can actually do or almost everything whatever you have built in the system. Right? It would take from creation to update, to validate, to submission, to sending an email, to receiving. So every every use case that you have. Right? At this point, you can actually go and you can implement the ETF and you can actually, you know, automate all your real world use cases in ServiceNow. So, we talked about multiple things. Right? We talked about multiple use cases. We talked about what about the test of configurations. Right? We talked about how, what is the architecture of APF. Now we talked about what is the impact analysis. Right? What exactly the impact and the benefit that ETF has. Right? It has improved the quality a lot. Right? It has made sure that it has saved a lot of time for us. Used to do the migrations and we used to do all the upgrades, it used to take so many number of hours, right? To just test those functionalities whether those are working, is there any impact on existing functionality or not? But now with the help of ETF, it has saved a lot of time for all of us. Right? It's just not a test. It's just not for a single person. Right? It has saved the time for, like, every member who's working in the team. Right? To make sure that it gives you a proper report. It gives you proper screenshots. It give you proper results. Right? Where exactly it was failed. Right? What was the reason of the failure. Right? You don't have to even run that. It's as easy just, you know, schedule it. You will get the result on your home. So it has, like, given us a lot of time savings, quality improvement, definitely. It has also given us a feature of reusability. As I talked about, that's we can also make sure that ATF can be used reusable. Right? So we can create reusable test case test cases also, and we can use those test cases into multiple, you know, APM that we have. So take an example, I create one reusable test case, right, which might be, you know, end to end cases for creation. Right? I can actually use that reusable test case in any other test case as well. So it you know, this will allow me to create less number of, you know, multiple cases. If I have to create multiple records, I will not go and create multiple test cases for that. I will just call my reusable test case there, and I will just update the values to it. I will just update my table value. I will just update my field values, and it can be I mean, it will just save the time for me. Right? It has also given us a very great coverage. Right? It is actually covering a lot of components for us. Right? It is covering our workspace. It is covering our portrait. It is covering our, you know, standard, features that we have. It's talk about forms. It is covering our buttons. It is covering all the workflows that we have to get it at the back end. It is also covering our emails, you know, emails, back and forth emails. It is also covering notifications. So you see how much coverage it has given you, how much help it is actually, you know, helping us to make sure that what best we can do it. Now, if you talk about the risk reduction, it does actually reduce our risk. Right? Earlier, we used to think that, you know, if you have to upgrade, we actually have to, you know, do a thorough analysis that what kind of different features that ServiceNow has introduced. These features can actually impact on what functionality that I've built in my system. Now there is no more analysis. You are just fully dependent on APF. When you run the APF service, now they'll tell you, they'll tell you that, you know, what functionality your upgrade, your release has impacted. Right? So it can tell you that out of number of n number of ETA. Right? These many number of ETA were failed. And you can simply see that, okay, this number is failed. Let me just go and check why exactly this was failed. Right? Lot. Right? It is I mean, you you're just dependent on this particular framework that how this can give you a clear 200. And, it has also, you know, enabled, kind of a multiple releases for you. It has also delivered multiple changes, you know, upgrades with the confidence. So it has initially when the it if came in, it has very reduced number of like initially, it came with like, seven or 10 steps. Right? I would say, just take an example. So initially, it came with 10 step, but now if you talk about, it has actually grown a lot. Right? It has evolved a lot. Now if you talk about, it is actually doing a lot of practice for you. It is also checking your APIs as well. Right? You can also run your rest of your hands. Right. Right? You can also run your integrations. You can also run your spoke. So so you talked about you just you just, you know, you just take a name of the components, and you will see that it is built in, service line Right. So, yeah, that that's lot about ATF. A lot of things that could be done and. a lot of work that could be made very easy when we start using this feature from ServiceNow. Now next thing comes about is manageability, ATF manageability. So here we are talking about creating the ATFs, having ATFs for each and every module. So first time when we are doing this, it looks like a big task that we have to go, we have to sit, we have to write the ATF for each and every feature, functionality, workflows that we have into the system. But it's just one time building the entire ATF. After that, we just have to manage it. Manage means what we need to do. Let's suppose right now we have an ATF which is testing the incident functionality, the entire state flow for incident from creating the incident till the time it get resolved. And in between, we get some new requirement where a mandatory field is added on the incident form. Now in my ATF, we do not have that field. Right? So it will fail Because when the ATF will try to submit the incident, it that field would remain empty, and it will fail. So there the manageability comes into the picture. Whenever we are doing any developments, we have to make sure we, you know, update the ETFs. We make sure that whatever new functionalities are being built upon, we update those steps into the ETFs. Some of the best practices that ServiceNow suggest is we have to follow we should follow the proper naming standards when we are creating the ATFs. We should be creating them application wise. Let's suppose, you have an incidental application and, for incident, you are having multiple ATFs. One, which is just testing the state flow. One, which is testing how to submit the the submission of the ATF incidents from service portal. One, which is, you know, just testing the SLAs, how the SLAs are working on the incident, and many more. So that is where the manageability comes into the picture. Third thing is reusable templates. What's reusable template? So when we are creating the test suite for incident module, we would say the first two, three steps where we have to fill in all the fields, submit the ATF. We do not want that thing to done multiple times. Right? So we can create the template in the back end, and we can use the the use those templates for the initial design. And the rest of the thing, whatever we want to do, we can just define these steps, and we can complete the ATF. Scheduling the ATF, we have already covered that point. This is the feature where we can go and we can schedule our ATF to be executed, to run, to test the functionality over the weekend as per the as per the, you know, availability or as per your convenience. Another thing that we need to make sure is we have executed the ATF. We need to make sure that we go and we review the results. There is no point of running the ATF if we are not going and we are not checking the results, and we are not making sure that if the ATF is failing, we raise a ticket, we raise a task, admin task, or whatever we want to do to get those ETFs updated so that when we are near to the upgrade or when we are near to the regression, our ETFs are up to date. They are not lacking behind. They are not missing any functionality. So that is where the ownership comes into the picture. Somebody from the platform should have the ownership to make sure. that with the development, our ETFs are fully updated and running fine. So here comes some best practices under governance. So best practices, basically, when we are creating the ETF, the very major point that ServiceNow suggest is we should not run ATF on productions. On productions, our ETFs should be disabled because sometimes it might have some kind of performance issue. So there's and, of course, when we are doing lot of ATF testing on the lower instances, dev test, pre prod, so we do not need to run them on production. We would be good to go there. So all the ATF testing executions should be done on lower instances. Second thing, we should be keeping our test focused and modular. So what do we mean by focused and modular? Let's suppose we have a service request, which is about to request a laptop. Now to request a laptop, we have request to employ laptop, request contractor laptop, request internal laptop, and all of all of them are having, you know, different different cycles, different different approvals. So in that way, if you're going to create one ETF, it is going to be very big. Right? So there we see that have a modular, small, focused ETFs so that it won't take lot of time to complete the execution. And if we know that the workflow is complex, we try to, you know, make it small and, you know, test it and run it. Third thing is start with the high risk. So small requirements, small flows where we are just submitting the request to and we have very minimal approvals. Those are the things that we still can do manually. But where we have the high risk flows, high risk workflows, where we need to make sure that if this is failing, it could impact the, you know, it could have a bigger impact on the on the production. So there, we suggest that we should be having the ATS. Sure. What tips and practices would you offer to record, to record producers in APS? What do you recommend? Like, people are really, really interesting. They're asking a lot of questions. I'm so happy to see that people are asking questions on that. Okay. So what tips do you see, Angie, that what tips and practices that we offer, you know, to record producers that we actually manage via ATM. Right? What is the right practice that we follow while building the ATM for the record producers? So for the record producer again, it it goes to the same way. When we create the ATF, it provides us the option to create it for service catalog, to create it for catalog item, to create it for record producer. So, basically, we just have to select that table. We have to provide all the steps one by one. And once that is done, finally, we can go and we can test it, and we can execute it. So best practices, I won't say there is any best practice specific to do the ATF testing for record producer or catalog item or incident or any CSM form or anything. It is overall. Whenever we are defining any step into the ATF, there are some steps we need to follow whatever design is there into the back end. So to test the record producer let's suppose we have the record producer for the incident. Right? On the service portal, we have the, create an incident record producer, and, we want to be testing for that. So when we would be divis defining the ATF, it would be having the step to navigate to, you know, portal, to open that record producer, to fill in mandatory fields, to submit it, and then we can go and we execute it, and it will run. And it will give you the result. Best practices, again, remains same, which is like we have to, you know, we have to make sure that the ETF is not, you know, too much complicated. If if the flow is very big, we are not, you know, defining everything over there. If we can make it modular, we can do that. Role based persona, Sharma already mentioned. Let's say, when even if we are doing manual testing, we always suggest that you do not do the testing with your admin account. You have a dedicated account. If you're doing the testing with respect of end user. You impersonate with end user. You submit the form, then you impersonate with ITIL user. You take the incident. You change it to in progress. You work upon it, put it on hold, and so on and so on. So ATF ServiceNow here suggest when we are using ATF, we should have the dedicated user to do the impersonations, to do the testing, and to complete the testing. I hope that answers, that question. Yes. Absolutely. Yeah. Thank you so much for that. Yeah. I see thumbs up as well. Thank you so much. Okay. So I think, I think we can move to demo, Anji. Like, we have a wonderful demo for all of you. So. So. that's the last slide. We we are after that, we would be having the demo. So the last comment to give over here is maybe we can just have a loop closing takeaway. ATF gives ServiceNow teams a structured way to validate applications, configurations, and customizations. And why we suggest or why ServiceNow suggest organizations should use ATF because it turns repeatable manual validation into structured automated reusable testing. So here we are done, and we go to the live demo. I hope my demo screen is visible. Can you confirm, Shamar? Not yet. I can I can see q and a? Okay. Maybe I see it now. I can see it now. Okay. Okay. Alright. Perfect. Okay. So to Easy, Tom. Thank you so much for that. thank you. So, basically, Okay. in ServiceNow, we have this application, automated testing framework, where we have test, reusable test, suits, test result, parameterized test result, suit results, schedules. So let me quickly show this thing. The very first thing that we discussed was suit. So one suit that I have developed over here for demo purposes, Let's suppose we have an Australia upgrade. We are going for the Australia. Okay? So we can create a new suit over here with the Australia upgrade. And under the test suit test here, whatever tests, ETFs, we want to execute, we can define all those tests over here. And the test suite schedules is something where we can give this schedule where when we want this, you know, test suit test execution to be done. So here, like, I have given run once, and I've given a random date, which is July 13. And July 13, automatically, at this particular time, my ATF would run. Which ATF it is going to run? This one, incident state flow. It's just one I have added. We can have n number of 80 f's over here. Let me just open it and show it to you. So this is the ATF. It is going to run and it is going to show. Second thing that comes is Hi, Angelie. It looks like there. we go. Okay. Is it visible now? Right? Screen is visible. Yes. Okay. Yes. I can see. Yeah. Okay. So this is the ATF we have created, for for incident module, the basic, you know, to test the state flow. So on the ins on the ATF, basically, we have the feature to run the test, to run the performance test, to debug, to copy the ATF, and so on. So we were talking about creating the ATF for record producer, creating the ATF for service catalog. So here we have this option at test step. And here, everything is visible here. We want to do the impersonation. We want to do the form testing. We want to open a new form, open an existing record. We want to test whether the UI action is visible. We want to test whether my state is draft, in progress, and all that, or we are submitting the form. Forms in service portal. In service portal, we want to go and we want to test whether the service portal forms are working fine. So there, it provides the option to open the form in service portal, set the fields, doing the field validation, adding the attachments. We have the option to validate whether the related list is visible, whether the filter is applied to the rest, whether the record is present, or we want to open the recording list. Reporting, we can test over here, reporting visibility. So it basically confirms whether the report can be viewed or cannot be viewed by the user. We can test the responsive dashboard. So here I'm just covering these quick steps, what all are there. So under the rest, as Shama already mentioned, rest APIs we can test. So initially, when the ETFs were started or when the ETFs were introduced, the rest testing, the APIs, these things were very limited. But now we can go and we can test the rest APIs through rest API explorer inbound request. We can go hide and we can test server side testing. So, basically, server side, when we are talking about this business rules, it still includes we want to test to whether the, when we are doing the testing for incident module, we want to see whether the incident is submitted into the system or not, whether the record is updated. We want we can test whether the record is deleted. We want to do the record validation. Let's suppose the incident is submitted. Once the incident form is opened, it is a new state. Once it is submitted, it should come to the open state. So there, we can do the validation where the state is now changed to, you know, in progress or in open. So those kind of testing we can do over here. I also want to add on one thing. So people are asking questions about, you know, why my portrait widgets are not properly captured. Right? I could not see the screenshots for that. Right? So I hope people are aware that, you know, when we actually run the ETFs, right, the the client steps that we have, right, those begin the screenshot. Right? So all the screenshots are captured, whatever you can see on the screen. Right? So if you see on the screen whether I can see the form, whether I can see the buttons, whether I can see, you know so anything which is running at the back end. Right? It could be any server side view. Right? It could be any server side scripting. It could be any, you know, flow which is running at the back end, which is, you know, if you are running a portal widget, any scripting, any server side scripting which is working in the back end for that, system might not capture the screenshots for you. Right? But anything that system can see on the screen. So whatever you want that it has to be captured in the screenshots, please make sure that you use more, you know, more steps toward what is visible on screen. So if I if I talk about client side, I can see forms, I can see, you know, forms on the ServiceNow portal. So forms are usually on the client side. Right? They are captured in the screenshots. Anything which is running in a background, it could not be captured. It, you know, it, Correct. like, it it might happen. You will not see the screenshot for that. Yeah. Correct. So we had this question, about testing the record producers, service catalog and service portal. This is the option I was referring to where we can, you know, open the record producer, open the catalog item. Even we can open the, you know, order guide. And step by step, we can go whatever we want to. Let's suppose our first step is open a record producer. We can use this, set variable values. Second thing we can do, validate whatever values we have given to the variable. We want to do the validation. You know? This step, we can check for that. Order a catalog item, submit record with user, review order guide summary. So whenever a manual testing is being done into the back end and manually we are going and we are submitting the form, whatever steps we are following there, ATF is almost providing all the steps in the back end that we can define, we can create, and we can do the testing. So see, so many steps are there that we have to do when we are doing the manual testing. Order guide. Order guide, we have so many sometimes the order guide is big. We have two, three, four, five catalog items which are attached to one order guide. Right? So if even if a single person is sitting and doing the testing for that order guide, it's going to take a time. Right? So this gives a quick way to do the testing. You go ahead. If you have an ETF in place for that, you are a BA, you are a platform owner, you need to make sure that this my one of my order guide, I asked to get developed, and now I want to see whether it is running fine or not. And I have a limited time to go and to sit and do the testing of that order guide. Right? Because it's big. It's quite big. So this is where this ETF would be very helpful tool. You go ahead. You execute it. You do your work, and maybe five minutes, ten minutes, you come back, and you can see that it's already executed. You have the test results. You have the screenshots. Everything is there in the form of dashboards. So it provides dashboard also where you can go and we can you can see what are the results. UI testing, where we can, you know, we can actually run the client side scripts entirely into the, you know, browser, but it's only for the client side scripting, not the server side scripting. And we can see whether the, you know, the UI scripts are working fine or not. So people. people also talked about this question, like, whether we can use the APF for portal, whether I can use it for workspace, whether I can use it for dashboard. So when you open that test step, you can simply see that we have different components. Right? So we have different components for responsive dashboard. We have configurable workspace. You can actually open the workspace page. You can actually test the page. You can also do the custom UI. So this is the one which I was talking about. Right? With the custom UI, you can actually go and click any component. Right? Right. You can actually validate any assert text on the any, on the page. Right? You can also allow system to validate the state validation and the value. When I say state, that means what exactly your field state is. Right? Whether it is read only, it mandatory, it is visible. You can also make sure that you can, you know, validate your values, What exactly your field is, you know, having a value right now. So whether the value let's say, take an example that whether the priority value is one, two, three, or four. Right? So basis on that, you can actually validate all the information, and you can simply see on the left hand side, we have different categories available. Right? So the these categories, some belongs to workspace, some belongs to, you know, email, some belongs to form, few belongs to list, reportings, responsive dashboards. Few belongs to your APIs as well, REST API, server side, wherein you can actually run any number of, you know, server scripting. It's it also has service catalog when you can actually utilize your order guide, record producers, catalog items. Right? So it gives you all that category. It's up to you what exactly you have to actually, you know, implement. Right? Whatever your use case is. Okay? I'm just doing all the all the questions as well so that we can answer the questions Thank you, Shema. while taking. that. Yeah. Alright. So just to show, here, I have these two tests, which, you know, we executed for the demo purpose. So one is success. One is success and one is failure. So there might be question why the same ATF is on success one time and it is failing another time. So see here all the steps, impersonate with incident manager, navigate to create new module, set the field, short description, caller ID, submit the incident, then set the assignment group, set the assigned to value, set the state to three, whole reason, impersonate to some person. So all these steps, whatever is my current state flow in the back end, this ETF is testing all those state flows, and it is success. Now to make it to to make it a fail, what I did on the incident module, I added, you know, one field, and I made that field mandatory. So let's open this one. So I made that field mandatory. So again, second time, when the same ATF was running, it failed on the submission because it was expecting that mandatory field to be populated. Let's say it's a new requirement. Initially, my incident module was working fine. ATF was fine. Now we have got the requirement where, the requirement is like you have to add a new field on the incident form that has to be mandatory, or it could be any. Or we have to have some kind of new UI action on the form, or we have to maybe generate the incident task on click of any button. It could be any enhancement. As soon as this enhancement is added and the ATF is not updated, it will fail, and it will tell you what is the new thing which is missing into the ATF. Go ahead, update it into the ATF, and do the testing, run again, and it should be working fine for the next upgrade before we do the next upgrade. And second thing again, like, as we are saying that after every development, whenever we are doing the development, so module wise, we suggest that we go and we update the ETFs. Let's say one development we have got. Now we are, we have updated the ETF. Now we are moving that deployment to test instance. So their test instance, I do not I don't want anybody to sit and do that testing again. My ATF is ready. I will just move the ATF changes to test, and the testing would be done automatically. There, not at all the manual intervention is needed. Right? Then ATF provides We got very interesting questions. Sorry. to interrupt you in between once again. No we. got another questions that if we add the rest step. Right? What different steps that are given to us? Right? If we go to add test step, we will just show to the, you know, audience that what are the different test step that we have it, you know, under rest. Yes. So if you see, we have inbound. So the question is whether, rest outbound step is there out of the box or they have to actually script it for outbound, you know, for making outbound work. So for the outbound call, it is not there. We can see over here. It is only providing the rest API to test to inbound, basically. So what we can do through, rest API, let's suppose, we just want we have a table API for the incident module and, the you know, through some external tool, user wanted to fetch the incident records or user wanted to fetch some data from the import table. So those kind of testing that we do through REST API Explorer, all those testing we can go and we can do, you know, from there. So majorly, it is for the inbound only. Outbound, right now, I don't see any step over here. We give it we can do the testing. Yeah. So it might be coming in future because ServiceNow is releasing so many other. And. this instance, currently, Angel, it is on Zurich. Right? So it might happen if we actually go to Australia. ServiceNow features, but right now, it is scripted one. So another question is, do you all do we also have the multi row variable set, you. know, whether we can actually. yes. We we can tell. can. we can do that too. Uh-uh. Add row to multi row variables. I think this step is visible. So this step is used to add a row to multi row variable set on the catalog item, and it provides this option on service portal as well. So from service portal, if we are doing the because catalog item, catalog, order guide, mostly, these are being used on the portal end. Right? The portal is visible to the end users. Not everybody is having the ITIL. That is why most of the feature are provided to do the testing from service portal end. So we can go and we can add zero to the multi row variable set. And when after setting the values, we can also save the values to the multi row variable set. So, yes, this feature is there. We have four minutes left. Yes. Many quest another question, Shama, do we have? Yes. We have so many. So is there any out of the box step to make the date field to auto select the current date? Whether we can automate that via step or not. Automate. So to answer this question, we can actually do the automation. Yeah. We can actually populate, you know, via, reusable test. Right? So when you create the reusable test, you also have an option to, you know, update or provide any values to your, you know, the field that you have. Right? You can also create your parameters. Right? You can also create the parameters. You can also while creating the parameters, you can also enable and, you know, define the proper value. Right? So let's say that you you create a parameter called as date or current date. Right? You can also define the current date value to your parameter, and that particular. date will be used across all the ETF, you know, test step that you are running. So this is one of the solutions I know. I I'm pretty sure that ServiceNow has so many other solutions also. So, Angel, if you if you actually come. across, you know, this kind of things, you probably, you know yeah. Yeah. We can we we can share that. Yes. For sure. Okay. I think, people are asking about yep. Good. So any any other question you want to cover? Can you also set the specific point points in the test case when you want to screenshot, or is it automatic for every step? So, basically, there is a property. Let me quickly show over here. So under same automated testing framework administration, we have the properties where, basically, we define enable for all steps. Let me quickly click here to make it editable. So here, enable for failed steps, disable for all steps, enable for all steps. So, basically, whether so there is three two things. Whether we want to we want ATF to generate screenshots for all these steps. It will be generating for all steps whether this step is success or the step is failed, or maybe I don't want this screenshot for the success steps. I want it only at the step where it fails. So it will be for failed step or I don't want any any any of this screenshot, so we can also disable it. I hope that answers your question. Amazing. Thank you so much. I think that really takes us up to time now. We had so many questions come. in, so thank you everyone. And thank you, Shamma and Anjali for your time and also Shamma for answering all of the questions over text. If you do have any questions that we didn't get around to, please feel free to reach out to Anjali and Shamma over on LinkedIn, and they'll be more than happy to, help and answer all of those questions. But as I mentioned in my intro, this session has been recorded. And if you would like to revisit any of the points, if you'd like to look over the demo again, that's going to be sent out in our follow-up email over the next couple of days. So keep an eye on your inbox. And, also, I have launched the feedback feedback survey now. So if you have some time, please feel free to, fill that in. It's super short, and it really helps us to improve the webinar experience in the future. But But thanks again everyone for coming, and I hope this was useful. And, yeah, thank you all for your time. See you at our next one. Bye. Thank you. Thank you, Bye. everyone. Thank you. Thank you. Bye bye.