Re: [wtr-general] Where does watir stores object properties
Sure. Feel free to submit a patch to firewatir. I don't think that project has much activity lately though, and it seems like it may be some time before anything happens. 2010/8/15 Amit amit.e...@gmail.com Does firewatir saves things in broswer_var ?? Can't we use multiple objects so we don't lose refrence of previous window? 2010/8/12 Ethan notet...@gmail.com Firewatir saves things in javascript variables, and reuses the same variables, so when you attach to a new window, it reuses the same variables as it does for the old window and you lose references to that window. On Thu, Aug 12, 2010 at 10:36, Amit amit.e...@gmail.com wrote: Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control over first one. So, thats why i wanted to know wether it saves object properties or not... and if yes then where.. Thank You Amit On 8/12/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Aug 12, 2010 at 2:42 PM, Amit amit.e...@gmail.com wrote: I want to know where WATIR is storing this information so it can access objects for both window. Why do you need that information? To be precise, Watir is not storing it, but Ruby is (as far as I understand it). The most general answer would be in RAM. :) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Where does watir stores object properties
Does firewatir saves things in broswer_var ?? Can't we use multiple objects so we don't lose refrence of previous window? 2010/8/12 Ethan notet...@gmail.com Firewatir saves things in javascript variables, and reuses the same variables, so when you attach to a new window, it reuses the same variables as it does for the old window and you lose references to that window. On Thu, Aug 12, 2010 at 10:36, Amit amit.e...@gmail.com wrote: Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control over first one. So, thats why i wanted to know wether it saves object properties or not... and if yes then where.. Thank You Amit On 8/12/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Aug 12, 2010 at 2:42 PM, Amit amit.e...@gmail.com wrote: I want to know where WATIR is storing this information so it can access objects for both window. Why do you need that information? To be precise, Watir is not storing it, but Ruby is (as far as I understand it). The most general answer would be in RAM. :) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Where does watir stores object properties
On Thu, Aug 12, 2010 at 2:42 PM, Amit amit.e...@gmail.com wrote: I want to know where WATIR is storing this information so it can access objects for both window. Why do you need that information? To be precise, Watir is not storing it, but Ruby is (as far as I understand it). The most general answer would be in RAM. :) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Where does watir stores object properties
Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control over first one. So, thats why i wanted to know wether it saves object properties or not... and if yes then where.. Thank You Amit On 8/12/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Aug 12, 2010 at 2:42 PM, Amit amit.e...@gmail.com wrote: I want to know where WATIR is storing this information so it can access objects for both window. Why do you need that information? To be precise, Watir is not storing it, but Ruby is (as far as I understand it). The most general answer would be in RAM. :) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com
Re: [wtr-general] Where does watir stores object properties
Firewatir saves things in javascript variables, and reuses the same variables, so when you attach to a new window, it reuses the same variables as it does for the old window and you lose references to that window. On Thu, Aug 12, 2010 at 10:36, Amit amit.e...@gmail.com wrote: Hi Željko, Actually, i was checking behavior of attach function in firewatir. Currently, In firewatir, if we attach 2 windows then it loose control over first one. So, thats why i wanted to know wether it saves object properties or not... and if yes then where.. Thank You Amit On 8/12/10, Željko Filipin zeljko.fili...@wa-research.ch wrote: On Thu, Aug 12, 2010 at 2:42 PM, Amit amit.e...@gmail.com wrote: I want to know where WATIR is storing this information so it can access objects for both window. Why do you need that information? To be precise, Watir is not storing it, but Ruby is (as far as I understand it). The most general answer would be in RAM. :) Željko -- watir.com - community manager watirpodcast.com - host testingpodcast.com - audio podcasts on software testing. all of them vidipodkast.com - pričamo o hardveru, softveru i časopisu Vidi -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.comwatir-general%2bunsubscr...@googlegroups.com -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com To unsubscribe: watir-general+unsubscr...@googlegroups.com