Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
649
how can we call a script in another script??
posted

Hi Ammar,

how can we call a script in another script??

Rekha.

  • 244
    posted

    Rekha,

    You should also be aware of this issue with RFT and CallScript with TestAdvantage:

    http://news.infragistics.com/forums/t/17745.aspx

    Depending on your version of RFT (I don't know if their latest release fixed this or not) you'll need to copy Infragistics.RFT.NetTestObjects.v7.1.dll from C:\Documents and Settings\All Users\Application Data\IBM\RFT\customization\ to the bin directory of your RFT project.

  • 6729
    Suggested Answer
    Offline posted

    Hi Rekha,

    This can be done using the standard CallScript method which has 3 overloads:

     

     

    CallScript("Script2") ' Script Name
    CallScript("Script2", args) ' Script Name, array of arguments
    CallScript("Script2", args, 2) ' Script Name, array of arguments, number of iteration

    Regards,

    Ammar