Hello ,
This test with QTP 11 aims to check the source file “main.c” by: -
Verifying the existence of “main.c”. - Verifying comments. - Verifying the
list of “includes”. - Verifying the called Functions. - Verifying the “Code
User” parts. - Verifying the coding rules.
The generated code should respects the following coding rules :
/*********************************************
* @file <file name>.c
* @author <Author>
* @version V<version>
* @date DD-Month-YYYY
* @brief <Add here what does this code do>
*******************************************
* @attention
*
* < COPYRIGHT YYYY STMicroelectronics>
* <License>
*********************************************
*/
/* Includes -------------------------------------------- */
/* External variables ---------------------------------*//* Private typedef
-------------------------------------*//* Private defines
-------------------------------------*//* Private macros
------------------------------------*//* Private variables
--------------------------------- *//* Private function prototypes
---------------------*//* Private functions --------------------------------*/
/**
* @brief < The function description >
* @note < OPTIONAL: Global note >
* @param Param1 < Parameter description >
* @note < OPTIONAL: Note for this parameter >
* @param Param2 < Parameter description >
* @note < OPTIONAL: Note for this parameter >
* @retval returntype < Description of the returned value >
*/
returntype FunctionName1(type Param1, type Param2){}
/**
* @brief < Add here the function description >
* @note < OPTIONAL: Global note >
* @param None
* @retval None
*/
void FunctionName2(void){}
Someone have an idea to test this code with vbscript, thanks !
--
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en
---
You received this message because you are subscribed to the Google Groups "QTP
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.