Yes, this is what I keep telling here and stack overflow as well. That idea seems to be good,but in practical, it creates too much trouble.
On Monday, October 3, 2016 at 1:45:21 PM UTC+5:30, Stefano wrote: > > Thank Titus for your answer. > > From the point of view of the developer of watir script ok, I agree with > you. > > However, from user's point of view (who actually configure a automatic > test case or has to correct the configuration becouse of changes in > business data) is a big problem. For example, if someone forgot to set an > input data of a test case, to have the feature to stop the ongoing test, > correct the configutation and restart with the same test case from a given > point is very useful. > > Thanks a lot, > Stefano > > > > Il giorno domenica 2 ottobre 2016 23:12:05 UTC+2, Titus Fortner ha scritto: > >> Hi Stephano, >> >> No, the w3c standard has no notion of being able to attach to an existing >> browser: https://w3c.github.io/webdriver/webdriver-spec.html >> >> Additionally, Internet Explorer support is eventually going to go away in >> favor of Edge (which Microsoft itself is writing the driver for). >> >> The best alternative I can suggest is to use debugging tools like pry, or >> RubyMine's excellent debugging options. >> >> Titus >> >> >> >> On Sunday, October 2, 2016 at 3:50:38 PM UTC-5, Stefano wrote: >>> >>> 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.
