ok thanks
On Sat, Feb 8, 2014 at 2:50 AM, Scott Mathson <[email protected]> wrote: > Sorry, like you said, it's not possible using ng-scenario. My suggestion > would be to move to Protractor if it's important enough for your tests. > > > On Thu, Feb 6, 2014 at 8:36 PM, Ramesh Kumar <[email protected]>wrote: > >> Hello Scott Mathson, >> >> ok thanks for information. Yes angular team moving to "Protractor". but I >> am mid of the generate E2E Testcase with "karma-ng-scenario", New screen >> Developed with IFrame , I am trying to find the element inside the Iframe >> .it's notpossible in ng-scenario. >> >> do you have idea to solve this issues ? please share with me >> >> Thanks in advanced >> Ramehs kumar >> >> >> On Fri, Feb 7, 2014 at 12:53 AM, Scott Mathson <[email protected]>wrote: >> >>> Hi Ramesh, >>> >>> No, we never did. As Elliott pointed out, the way the scenario runner >>> works will prohibit this from being possible. We are currently just testing >>> each frame in isolation. >>> >>> We plan on following the Angular team's lead and moving to Protractor ( >>> https://github.com/angular/protractor/) for our E2E tests in the near >>> future and we'll re-evaluate the possibility of writing tests at the top >>> level and drilling into specific iframes when we do. Since Protractor is >>> built on top of Webdriver, it looks like this should be possible: >>> http://stackoverflow.com/questions/20425909/protractor-testing-angular-app-in-an-iframe >>> >>> Hope that helps. >>> >>> >>> On Tue, Feb 4, 2014 at 10:27 PM, Ramesh Kumar >>> <[email protected]>wrote: >>> >>>> Hello Scott Mathson >>>> I had a same problem. Do you found the solution for the above issue ? >>>> >>>> >>>> >>>> On Friday, 15 March 2013 07:24:47 UTC+5:30, Scott Mathson wrote: >>>>> >>>>> I'm trying to do E2E testing on an application that is made up of >>>>> multiple iframes, each with it's own Angular application. The different >>>>> applications communicate with each other through a custom event bridge >>>>> that >>>>> we've written and there are certain scenarios that we'd like to be able to >>>>> test that require interaction between the applications, so we can't just >>>>> E2E test each application independently from the others. >>>>> >>>>> AFAIK, there isn't a way to write a selector by itself to drill down >>>>> into a specific iframe (something like 'iframe#pane1 input.email'), and so >>>>> the way of doing this with jQuery is: >>>>> $(iframe#pane1).contents().find('input.email). >>>>> I was thinking about trying to add a custom dsl statement to ngScenario >>>>> that works like using() to scope any chained selectors to a specific >>>>> iframe >>>>> (something like useframe('pane1').input('email') ), but I'm having >>>>> trouble figuring out how I'd write that as another angular.scenario.dsl >>>>> statement. Any ideas? >>>>> >>>>> Has anyone successfully been able to do something like this with >>>>> angular's E2E tests? >>>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "AngularJS" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/angular/rhjH4kTlv48/unsubscribe. >>>> >>>> To unsubscribe from this group and all its topics, send an email to >>>> [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at http://groups.google.com/group/angular. >>>> >>>> For more options, visit https://groups.google.com/groups/opt_out. >>>> >>> >>> >>> >>> -- >>> Scott Mathson >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "AngularJS" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/angular. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "AngularJS" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/angular/rhjH4kTlv48/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Scott Mathson > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/groups/opt_out.
