Results 1 to 2 of 2
  1. #1

    Error on passing parameters to reusable actions


    I have a reusable action with input parameter "report_Name" being passed by another action. In the reusable action, I got a General run error when executing the statement: Set page = Browser("report_Name").Page("report_Name")
    It seems there is no problem when the parameter is passed because I debugged before this statement,I could get the correct answer using Browser("report_Name").Page("report_Name").Weblist ("index:=0").GetROProperty("name")
    I also tried not passing the parameter just using the report name Set page = Broswer("Activity").Page("Activity")in a seperate action and it works.

    Any ideas to guide me?


  2. #2
    SQA Knight
    Join Date
    Jul 1999
    Grand Rapids, MI

    Re: Error on passing parameters to reusable actions

    I think from your description you are confused about passing and then dereferencing Action parms. Here are a few links that should help with this confusing topic:


    You could have found these--and several others associated with this issue--using the following Advanced Search keywords and a 50 week time horizon:

    +passed +Action +parameter

    Give this a try next time.

    -Terry Horwath



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
BetaSoft Inc.
All times are GMT -8. The time now is 05:58 PM.

Copyright BetaSoft Inc.