Iam writing a script for the following: The sequence in the script should be the following: 1. get the handle from a already open IE window 2. Check for a link in a page that displys the search results ( assume that the IE handle for the windo that was open has search results displayed already)that opens a detail page , the link follows the pattern such as http://abc.com/view?item=345618 ******. The link varies depending on the product , but the starting patter http://abc.com/view?item= remains the same. So how do i collect the links with the starting pattern so that i can go to the detail product page 3. Once the detail page is view, again there is a link http://abc.com/view?search = pg 1of 10 etc item=345618 ****** i.e it goes back to the search page. Once again the pattern is same http://abc.com/view?search
Need this help, any live programs with similar logic would help for a quick start. I would prefer doing this in IRB rather than using a script or either way is fine. -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
