Knowledge Base Article

Home Page > Knowledge Base > Rapise

Home Page > Knowledge Base > Rapise > Rapise Desktop

Home Page > Knowledge Base > Rapise > Rapise Web

Article Disabling the generation of comments during Recording

by Adam S on Monday, March 2, 2015

By default Rapise records user actions with a line commented out for each action. This articles describes how you can disable this behavior if you just want the script lines recorded on their own.

By default Rapise will record a script with embedded comments:

//Click on Log In
SeS('Log_In').DoClick();

//Set Text librarian in Username:
SeS('Username_').DoSetText("librarian");

//Set Text librarian in Password:
SeS('Password_').DoSetText("librarian");

//Click on ctl00$MainContent$LoginUser$LoginButton
SeS('ctl00$MainContent$LoginUser$Logi').DoClick();

If you open up the test script settings tab, add the following line to the CommandLine parameters:

-eval:g_recordComments=false;

Now when you record, it will generate just the actual script code with no comments:


SeS('Log_In').DoClick();

SeS('Username_').DoSetText("librarian");

SeS('Password_').DoSetText("librarian");

SeS('ctl00$MainContent$LoginUser$Logi').DoClick();


Attachments
Article Info
Last Updated: 3/2/2015
Article ID: KB139
# Views: 630
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.