Low Code App Dev // Deep Dive (Part 5)
hello and welcome to service now's low code capability deep dive in this nine-part series we're going to take a look at the various aspects of the service now platform that Empower creators of all skill levels with the ability to rapidly build highquality scalable and easy to govern apps in the next few minutes I'll be demonstrating how applications built on the service now platform are tested our automated testing framework or ATF for short is the primary tool creators will use use to create tests test Suites test data test plans and run automation I'll also show instance scan which is used for surfacing development patterns which go against best practices or performance and security guidance let's start by automatically generating some test cases for the expense application this will save me a significant amount of setup Time by capturing the current state of my application if I change the behavior of my forms or fields in the future I can simply update these tests in the test generation form I choose the expense application and filter which users tables and catalog items for which to generate tests when I click Start service now's Cloud test Runner will execute this task while I focus on writing some unit tests the expense app has some code written to calculate if a project is over budget while test automation runs I'll create a unit test for this code to make sure it's working properly first I'll set up some test data by creating a budget and an expense record and a few expense line items the available budget will be set to ,000 and the line items amounts $500 and $600 each this should put us over budget all test data created in this way will be rolled back after the test has run lastly I'll create a unit test for my is over budget function which should return true given the test order I can now run the test oh one of these tests have failed I'll dive into the results and check what's going on it seems like the over budget function is returning false when it should have returned true I'll double check my code ah and sure enough I've put the wrong operator here this should be greater than now that test generation has completed we can take a look at one of the generated tests this test opens the expense light item form and validates the mandatory Fields when a UI test like this is run it can either be run live by the tester in their own browser or be scheduled to run in service now's Cloud test Runner tests can also be used to B Benchmark instance responsiveness by running them in performance mode UI and transaction performance indicators are tracked and can be compared from run to run to help identify where changes to Applications may impact performance instance scan is used by customers impact and partners to interrogate instances for configuration that indicate health issues and identify opportunities to address best practices instant scan check security upgradeability user experience normalization of data performance and manageability indicators on an instance each finding describes the convention being broken provides resolution details and links to documentation findings can then be invest at and addressed either directly by the customers or shared with impact or partner best practice consultants for tailored Solutions thanks for watching and join us for part six of our series as we explore devops
https://www.youtube.com/watch?v=IA-ZXXntE-Q