[wtr-general] Clicking an image inside the tinyMCE Editor with Watir-Webdriver

2012-01-04 Thread Abe Heward
*Use Case:* Using Watir-Webdriver, I need to access a menu that appears when clicking an image in the Content Body of the TinyMCE Editor. *Problem:* Clicking the image manually brings up the menu, but I haven't found a way to get it to happen with watir-webdriver. I've tried .click, .double_cl

[wtr-general] Re: Clicking an image inside the tinyMCE Editor with Watir-Webdriver

2012-01-04 Thread Abe Heward
One more thing I noticed: when I use .right_click on the image, the Browser's context menu appears in the upper left corner of the browser window, which implies that the click event is not occurring directly on the target image itself. I'm guessing that this is a requirement for tinyMCE to know

Re: [wtr-general] Clicking an image inside the tinyMCE Editor with Watir-Webdriver

2012-01-04 Thread Jari Bakken
can you demonstrate the problem on the public demo page? http://www.tinymce.com/tryit/full.php An example script against that page would make it easier to help. Den 4. jan. 2012 kl. 17:30 skrev Abe Heward : *Use Case:* Using Watir-Webdriver, I need to access a menu that appears when clicking an

[wtr-general] Watir-Webdriver Chrome, FF, IE window maximize

2012-01-04 Thread Super Kevy
I'm using webdriver to automate for the big 3 browsers and have the snippet below to set the screen size to maximum, Chrome works perfect with the swtiches option, IE and FF are kind of acceptable hacks. A) Does anyone have a better way to maximize FF & IE with Webdriver? B) In Chrome I always ge

Re: [wtr-general] Clicking an image inside the tinyMCE Editor with Watir-Webdriver

2012-01-04 Thread Abe Heward
Sure thing! First, manually, go to that site and click on the tinyMCE logo in the editor. It will then look like this: The particular thing to note is the resizing controller that appears--t