Iím new to this forum and just now started working with QTP. so far it's really helpful
In the 'record and run settings' web tab i've selected 'open the following browser..'.
Now, what if i want my test to run several times with a different web page every time? Do i need to write a function of my own to do that? and can i call the different web pages from a small database like excel file?
Looking at your scenario it would be better to launch IE in the code instead of the run setting and you can keep the browsing url in the global data sheet. See global data sheet help in QTP for more information
Another option you might concider is to lauch a blank browser from the run & record settings, and then start your test with a navigate method which gets the url from datasheet.
That would save you from opening & closing browser between iterations, if there is no need to do it.
i thought about that, but if i need to run the test from a different web page every time the locations of the links will be different so i can't record the same action. i will have to be a little more creative about that and think of another solution.
thanks anyway for all the replies. it helped heaps.