aa_export_vars (public)

 aa_export_vars varnames

Defined in packages/acs-automated-testing/tcl/aa-test-procs.tcl

Called from an initialization class constructor or a component to explicitly export the specified variables to the current testcase. You need to call aa_export_vars before you create the variables. Example:

    aa_export_vars {package_id item_id}
    set package_id 23
    set item_id 109
    

Parameters:
varnames (required)

Testcases:
db_check_news_create, db_check_news_archive, db_check_news_set_approve, db_check_news_status
Source code:
    uplevel 1 [string map [list @varnames@ [list $varnames]] {
        foreach v @varnames@ {
          upvar $v $v
          uplevel 1 [list lappend _aa_export $v]
        }
    }]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: