05-16-2008, 02:11 PM
I have not yet understood the basic functioning of QTP: i have registered the opening of a website, and it runs correctly.
Then i have copied & pasted the same code in another blank sheet, and i have ran it: it doesn't function, with the error:
The "Browser"object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object.
The code is:
if i use the record key and i open google website, the code written in the expert view is the same... but it functions...
How does OR function? or where i can find a process explanation? (not only the single detail, but an overview to understand the functioning)
thanks for any help,
ste
Then i have copied & pasted the same code in another blank sheet, and i have ran it: it doesn't function, with the error:
The "Browser"object was not found in the Object Repository. Check the Object Repository to confirm that the object exists or to find the correct name for the object.
The code is:
Code:
Dim link2
link2="http://www.google.it"
SystemUtil.Run "C:\Programmi\Internet Explorer\iexplore.exe","","C:\Documents and Settings\zzsvo02","open"
Browser("Browser").Page("Page").Sync
Browser("Browser").Navigate link2
if i use the record key and i open google website, the code written in the expert view is the same... but it functions...
How does OR function? or where i can find a process explanation? (not only the single detail, but an overview to understand the functioning)
thanks for any help,
ste