10-20-2009, 04:14 PM
I have a 500 lines of script among this 300 lines of code start with
Browser("xxxxx").Page("xxxx").Frame("xxxxx") this sentense
i would like to minimze this code instead of writing entire thing in 300 lines , i just want to assign this entire sentense in to a variable and wherever it is required i want to pass this variable and with some extensions (according to my requirement like webedit, weblist, webelement,.....)
Please let me know how to minimze the script
Thanks in advance,
Venkat.Batchu
Browser("xxxxx").Page("xxxx").Frame("xxxxx") this sentense
i would like to minimze this code instead of writing entire thing in 300 lines , i just want to assign this entire sentense in to a variable and wherever it is required i want to pass this variable and with some extensions (according to my requirement like webedit, weblist, webelement,.....)
Please let me know how to minimze the script
Thanks in advance,
Venkat.Batchu