Hi, yes I know that there is not such method in WATIR-Webdriver to attach the browser as we do in WATIR-classic. Actually, it is not a matter opening a new browser, but the big problem is how restore the session state of the web application when the test has been interrupted (maybe for a misconfiguration, an errore in the code of the watir script, etc)
This situation is normal during debug or configuration of the scripts. For our application, to repeat a test from de beginning is crazy - it can take several minutes each time to reach the same state a script was interrupted starting from the beginning. We need, in some way, to be able to continue a test from the same test it was interrupted, even if in a new browser. How we can do it? Thanks al lot, Stefano 2016-10-02 11:03 GMT+02:00 <[email protected]>: > Hi stefano, > > There is no such method in WATIR-Webdriver to attach the browser as we do > in WATIR-classic. If you want to do it, you need to open a new browser. > > On Thursday, September 29, 2016 at 2:17:39 PM UTC+5:30, Stefano wrote: >> >> Hi all, >> >> we are approaching the gradual conversion of all ours test cases from >> watir-classic to watir-webdriver. >> >> For the moment, there are not big problems both for the update of Ruby >> scripts and about stability of the scripts themselves >> >> However we have a big concern, that we have not solved yet, also >> searching on the net. >> >> The old method "attach", available with watir-classic, was very useful >> during debug or configuration of the scripts. >> >> Do you know if there exist an similar way to do the same of "attach" with >> watir-webdriver? Will it foreseen a similar method "attach" with >> watir-webdriver? >> >> Thanks all, >> Stefano >> >> -- -- 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] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
