cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing variable inside key extension

longchasen
Contributor

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.

1 REPLY 1
longchasen
Contributor

Re: Accessing variable inside key extension

Nevermind , i wast able to do this using the persistent variable

New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors