I want run a DP script in vbs instead of QTP, in order to close Security warning. I can close Security Scripts withing QTP (not via recovery but just a function)
I do not know how can I use DOM objects inside a vbs instead of a QTP file.
I want to run same code outside the QTP in a vbs file.
When I run the code below I got the error
Line : 3
Error:Object Required 'Description`
try = ".*"
Set NButton=myDialog("regexpwndtitle:=Security .*").ChildObjects(Button)
I look serious because I am serious.
Are you putting this code in a .vbs file and then finding that it does not understand the QTP syntax? I cannot tell what what your question is.
When in Florida, Don't Tampa with the code. I made this up.
QTP code will not work in a .VBS file. If it would then you would not need QTP also. When you run code in QTP it provided additional objects. But when you run VBS file directly, it is interpreted by WScript and these objects don't exists over there
Tarun Buy the NEW QTP Descriptive Programming Unplugged Book ** Download QTP Unplugged 2nd Edition eBook for FREE **