I was going through the example on the following page
http://motevich.blogspot.com/2008/08/qtp-descriptive-programming-operations_13.html
There was an error running the test while executing the following code on Line3 which is a General Run Error
Set Desc = Description.Create()
Desc("micClass").Value = "WebEdit"
Set Links = Browser("Google Sets").Page("Google Sets").ChildObjects(Desc)
MsgBox "Number of Edits: " & Links.Count
P.S: I added the Browser in the OR.
The same error message was generated even with the following change in line3
Set Links = Browser("name:=Google Sets").Page("title:=Google Sets").ChildObjects(Desc)
A general error is occuring. That is the question.
I went through your example, posted at your BLOG, to see the results.
A general error message occured at Line3.
I am asking why is this general error occuring and how can i fix it?
Despite the fact that i added the browser object in OR as well.
I hope i am clear this time.I have added an attachment as well.
Regards
From what you have guessed is not true
1.I have Browser("Google Sets").Page("Google Sets") in OR
2.There is only one IE opened browser
3.There is an opened browser
4.Browser is already opened so there is no launching
From what you have advised:
1.The Browser("Google Sets").Exist is true
2. Browser("Google Sets").Page("Google Sets").Exist is true
3.I have tried recording new scripts and still the same error message
I am still getting the same error message
Yes. This works correctly.
I think my environment and version of OS, QTP are correct. The IE version is 6.0
My all other tests are working fine.
Looks like I can't run the test then.... Sigh
Thanks for the guidance anyway..
Regards
I think my environment and version of OS, QTP are correct. The IE version is 6.0
My all other tests are working fine.
Looks like I can't run the test then.... Sigh
Thanks for the guidance anyway..
Regards