But when you iframe source is coming from a totally different source you really have a problem though. I solved it with trying and using a different proxy in our company.
On Jan 23, 4:10 pm, LFIdnl <[email protected]> wrote: > I had the same problem. It reproduce if url of main application and > url of frame are not equal. For example, if main url (in address field > of browser) ishttp://localhost/index.htmland frame > url(src)http://127.0.0.1/frame.htmland you wants to get some data from > elements which locate in frame you must see "Access Denied". > Usehttp://127.0.0.1/index.htmlas main url for except this problem > > On 23 янв, 16:49, malar b <[email protected]> wrote: > > > Hi, > > i am new to watir. > > The following code is running properly in one machine. > > > ie.show_frames > > ie.frame("main").link(:text, "Add New").click > > if i try to run in another machine, i am getting "Access Denied" and > > "Unable to Locate a frame named main" errors > > what is the problem? > > Can u pl resolve it and tell me. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
