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) is http://localhost/index.html and frame url(src) http://127.0.0.1/frame.html and you wants to get some data from elements which locate in frame you must see "Access Denied". Use http://127.0.0.1/index.html as main url for except this problem
On 23 янв, 16:49, malar b <malar.je...@gmail.com> 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 watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---