Skip Navigation LinksForums > Rapise Forums > Rapise Issues & Questions > Need to understand how ex...

Need to understand how extract user scenario works in Rapise RSS Feed

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
Sarah T.Sarah T.
re: Naina Chaurasia on Wednesday, March 9, 2016
Thursday, March 10, 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.


Naina ChaurasiaNaina Chaurasia
re: Sarah T. on Thursday, March 10, 2016
Friday, March 11, 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?
  • Started: 3/9/2016
  • Last Reply: 3/11/2016
  • Replies: 2
  • Views: 1082
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2017 | Licensed to Inflectra Corporation.