Created By  inflectra.adam 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

Selected files will be attached to any email sent on saving ticket.

file selected files selected  () Delete Selected

  • Created:
  • by:

Select files to upload

Or drag and drop files here

Uploading …
Done!
Upload More?
There was an error.
Try again?

Save to upload the selected file(s)

Article Info
  • Last Updated: 3/2/2015
  • Article ID: KB139
  • Views: 1242