Hello guys, welcome to another lecture we are creating test cases for the object repositories we created so far we have only one pending object repository, which we created for IMG. Let me quickly create this create test case for that as well in the separate folder. Make sure you are following me I am creating new test case and I am providing NamUs IMG with header and in manual mode and madding web service keyword, send request and from object I am selecting With HTTP header, and I click OK. Or give it an ACL and by clicking that, and I go to script mode. Here I am parsing the code snippet for very face data school and then passing it here. I'm saving it and assigning a variable to it and giving it as IMG you are and here also imposing IMG. You are And I'm saving it can you can see some inputs, you No need to worry about any inputs it will be automatically imported by Catalan studio.
But if you are using Catalan studio we no need to bother about importing any JAR files. We can know any base basic what we need to do for creating a framework we can make use of their inbuilt framework you can explore for the automation and mobile automation also using Catalan studio. We will be making courses for that in upcoming days. So stay tuned with us. Now let us run this script I'm running it are the see the result is running and started Yeah, this completed and verify response status code successfully. Now, our test cases passed.
You're seeing here on parse can also go to console. To see what happened if you give any print statement, it will print here. I think the print statement will be like printed against the display much further print Let us just case first let us try this. I'm not sure I just want to check. Remember this is the statement for print in groovy it uses groovy language so you don't need to bother whether we need to learn groovy to make use of Catalan studio. Most of the snippets record you can record for AP automation you can get it from online itself.
Even I also don't know groovy go to console. And in being like, print test cases first guess you guys explore what's the print statement for Catalan studio AP automated testing using groovy language. From next lecture we will see how to create test suit and add all these test cases in