Can you expand on this and perhaps provide some samples of the affected code?
what does 'location x' mean? are you referring to a physical x,y location on the screen, a logical location on the page relative to other elements, or what? A lot has to do with how you identify objects.. if you are using unique names or ID values, then relocating the object on the page should not matter in the least unless those other attributes also change. If you are using long complicated xpaths, or worse yet, XY coordinates, well then may the gods of your choice have pity on you. On Oct 24, 10:12 am, Matt <[email protected]> wrote: > Hey guys, > > I was just wondering, if I have 400 scripts, using object "myobject" > currently in location x. > > If I change it's name or slightly chance its location, how does Watir > keep it within scope? > > Cheers, > Matt -- 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]
