i404
14 years agoContributor
"ToURL" method or property of the "Page("*")" object that does not exist.
Hi guys,
I'm have just installed TestComplete and playing with the samples provided. I ran TestComplete 8 Samples\Web Testing\Firefox & IE sample and they both gave me the same error:
You are trying to call the "ToURL" method or property of the "Page("*")" object that does not exist.
This is the part that's involved:
Set firefox = Aliases.firefox
Call Log.PopLogFolder()
URL = "http://www.automatedqa.com/examples/testcomplete/weborders/"
If (Not firefox.WaitPage("*", 20000).Exists) Then
Call Sys.Keys("[Esc]")
End If
Call firefox.WaitPage("*", 2000).ToURL(URL)
Set page = Aliases.firefox.page
Call Login(page, "Tester", "test")
Call AddNewOrder(page)
Is there anything I need to modify to get the sample run?
Hope someone can guide me through this.
Thanks
Regards
Ian
I'm have just installed TestComplete and playing with the samples provided. I ran TestComplete 8 Samples\Web Testing\Firefox & IE sample and they both gave me the same error:
You are trying to call the "ToURL" method or property of the "Page("*")" object that does not exist.
This is the part that's involved:
Set firefox = Aliases.firefox
Call Log.PopLogFolder()
URL = "http://www.automatedqa.com/examples/testcomplete/weborders/"
If (Not firefox.WaitPage("*", 20000).Exists) Then
Call Sys.Keys("[Esc]")
End If
Call firefox.WaitPage("*", 2000).ToURL(URL)
Set page = Aliases.firefox.page
Call Login(page, "Tester", "test")
Call AddNewOrder(page)
Is there anything I need to modify to get the sample run?
Hope someone can guide me through this.
Thanks
Regards
Ian