Need to understand how extract user scenario works in Rapise

Wednesday, March 9, 2016
   I have created Login testcase of login page from Rapise,then i have created scenario by using extract user scenario named it as Login.
Now again i have created new testcase and named it as Homepage .

If i want to call  login user scenario (which was created inside login.js file) inside homepage.js file, then how it would be possible?

2 Replies
Thursday, March 10, 2016
re: Naina Wednesday, March 9, 2016
Hi Naina

When you select some code in Rapise and then choose to Extract a user scenario it creates a new JavaScript function with the code and replaces the highlighted text with a call to that function. You can also make calls to that function anywhere else in the main test script file.

Please feel free to log a help desk ticket if you need more assistance.


Friday, March 11, 2016
re: inflectra.sarahx Thursday, March 10, 2016
   Thanks for the reply.
Again i have one doubt ,how can i call same extracted function inside other test script?
For eg:- if i created user scenario login and then created new test script names as home.Then how can i call login function inside home test script?

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885


  • Started: Wednesday, March 9, 2016
  • Last Reply: Friday, March 11, 2016
  • Replies: 2
  • Views: 3845