11-11-2009, 02:18 AM
I think i made some progress on the answer to my intial question. but i do have a follow up. How can i set optional variables in a function.
for example.
public function create addressbook (byref name, byref address, byref city, by ref zip)
how can i implement optional variables as well? for instance if i wanted suitenumber to to applicable to some and not all.
is specifying all possible variables the only way?
for example.
public function create addressbook (byref name, byref address, byref city, by ref zip)
Code:
browser("main").page("flight").weblist("objecttype:dropdown").Select name
browser("main").page("flight").weblist("objecttype:dropdown").Select address
browser("main").page("flight").weblist("objecttype:dropdown").Select city
'etc
how can i implement optional variables as well? for instance if i wanted suitenumber to to applicable to some and not all.
is specifying all possible variables the only way?