General run error

error # -2147467259, how to fix it??

You may be calling a function with incorrect parameters. Please cross check 
your script. 

http://aqtptutorial.blogspot.com/


On Saturday, April 5, 2008 6:36:46 AM UTC-4, j2viva wrote:
>
> hey guys~ 
>
> I want to get all the activex objects on one web page, then i wrote 
> this: 
>
> ' browser description 
> Set browser_des = description.Create 
> browser_des("micClass").value = "Browser" 
> browser_des("url").value = TEST_URL    ' a const 
> browser_des("application version").value = "internet explorer 6" 
>
> ' page description 
> Set page_des = description.Create 
> page_des("micClass").value = "Page" 
>
> ' activex objects description 
> Set acx_des = description.Create 
> acx_des("micClass").value = "ActiveX" 
>
> Set acxObjects = 
> Browser(browser_des).Page(page_des).ChildObjects(acx_des) 
>
> well, when i run this script in qtp, it says "General run error" in 
> the acxObjects line. 
> i've no idea 
> if it not works, is there any method that can give me a list of 
> activex objects? 
> use winobjects or webelements? 
> thanks a lot~ 
>

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to