what kind of script we use in ATF

chanikya
Tera Guru

HI,

 

1.what kind of script we use in ATF TEST cases.....

2.when we create our own test cases with script ???

3. How to create our own test cases with script , please give with an example

2 REPLIES 2

mishu1
Tera Guru

Hi Chanikya,

 

Automated test framework application uses Jasmine script, to configure test scripts for server side validations or for unit testing of the build objects and utilities. 

Jasmine scripting is used to automate and validate the build objects and utilities which form a part of the unit testing components which is usually performed by developers on a Cloud based platform.

On the ServiceNow platform, Jasmine scripting is used to test the client scripts, business rules, script includes, UI policies, script actions etc. which are the core build utilities. It is used to validate the functioning of a coding utility by developers as per the input parameters provided within the code.

A simple example of Jasmine scripting might include a calculator, wherein a code can be written with embedded Jasmine script functions to add two variables and then give the result as an output. In case of ServiceNow, Jasmine script functions can be configured within UI pages, script includes, UI processor scripts etc. to perform the unit testing by developers.

 

Regards,

Mishu

 

Note: Please mark this response as "Helpful", if in case it has resolved your query. 

Hi Mishu,

could you also show steps for how to create test scripts in ATF?