As explained in my previous post (subject - Global object repository),I am trying to have the test case instructions in table(access) and have scripts to execute them.
I have captured few objects in the shared object repository. I want to try the below instructions and it is not working..
Dim obj1 as object
( I am getting syntax error for any DIM declarations)
Is there a function to assign my shared repository objects to the above declared object like below?
set obj1 = fn("Browser().Page().Webedit()")
Will this work at all? I would really appreciate any help on this. Thanks.
set obj1 = Browser().Page().Webedit()
You need to improve your VBScript skills. http://www.w3schools.com/vbscript
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **
check this below URL . I hope it will give very good idea about vbscript with examples http://www.html.dk/dokumentation/vbscript/
Or do as I...
Buy the book! [img]/images/graemlins/smile.gif[/img]
(vbscript, 2nd edition, programmer's reference, isbn: 0-7645-5993-1)
- How many testers do you need to switch a light bulb? None, we just report it's dark -