Coding Standards/conventions Question:

Download Job Interview Questions and Answers PDF

Explain Scripts and libraries Introduction?

Coding Standards Interview Question
Coding Standards Interview Question

Answer:

Scripts
A script within Rational Robot is a file that contains a sequence of SQABasic code. The extension of the file is always “.REC”. Typically the script contains an automated testcase and contains the business-logic and also the testdata. Although it is generally recommended to shift testcase-logic and especially testdata to external sources such as CSV or Excel it is NOT designed to do so today because this technique requires an underlying sophisticated automated test framework that we do not have implemented at this level of automation yet.

Libraries
Common used functions are placed in libraries. These are located in the SQABas32 subdirectory of the Robot working directory. A library is divided into three files, a header (.SBH), an implementation file (.SBL) and the compiled version (.SBX). Libraries are not necessarily bound to an AUT or feature.

Download Coding Standards Interview Questions And Answers PDF

Previous QuestionNext Question
Explain Functions Size?How to deal both scripts and libs in Scripts and libraries?