Forum Discussion

longchasen's avatar
longchasen
Contributor
6 years ago

Accessing variable inside key extension

I have an extention that use the Sys.Browser:

 

var control= Page.contentDocument.Script.eval(Data.Name);  

 

 

assuming on my keyword test operation that i always set a variable name Page:

 

var Page = Sys.Browser().Page('*/MyPage*');

 

Is it possible to access the variable in keyword test inside the extension? Probably thru code expression as i know i will always use a variable name Page which i need. I don't want to type the Page browser to extension Data or Parameters all the time.