Re: [wtr-general] OT: WIN32OLE and Word difficulty

2010-12-11 Thread Ethan
Hi Adam, I don't have any experience with OLE stuff in Word, but since I doubt anybody else here has much either, I can make one general suggestion. I'd suggest looking for support for COM/OLE automation with Word outside of the ruby community (definitely outside the watir community - almost all an

[wtr-general] OT: WIN32OLE and Word difficulty

2010-12-11 Thread Adam Reed
I've worked with the win32ole library in my WATIR scripts for a long time, and I've just now stumbled onto a problem that I'm hoping some of you have also encountered. I have a script that reads from various Word file formats (doc, docx), however the documents that are being provided to me from ou

[wtr-general] Re: Displaying text from RegEx

2010-12-11 Thread Jarmo Pertman
Or if you'd like to be especially lazy, then: number = browser.text.scan(/XYZ(\d+)/).to_s puts number Jarmo Pertman - IT does really matter - http://www.itreallymatters.net On Dec 10, 7:15 pm, Chuck van der Linden wrote: > Presuming you have the company name in there as a variable (read from

[wtr-general] Re: some more details on CSS

2010-12-11 Thread Jarmo Pertman
For me the above mentioned tutorial doesn't make sense at all for example. Why is it even titled as "CSS"? What is the goal of that tutorial? And to the original poster of the problem, please explain your original problem in more details so it's possible to help. "Was not able to use them" is unfo

[wtr-general] Re: Clicking "OK" javascript confirm popup?

2010-12-11 Thread Jarmo Pertman
Use the simplest way to handle JavaScript popups described in the wiki at http://wiki.openqa.org/display/WTR/JavaScript+Pop+Ups Jarmo Pertman - IT does really matter - http://www.itreallymatters.net On Dec 7, 2:31 am, Eric Mathiesen wrote: > Have you tried using .fire_event? > > Sry I'm on

[wtr-general] Re: unable to click on list list item inside a div

2010-12-11 Thread mike_sukhi
plz help me Željko Filipi On Dec 11, 7:11 pm, mike_sukhi wrote: > i dont know wht to try > > On Dec 11, 6:43 pm, Željko Filipin > wrote: > > > What have you tried? > > > Željko > > > On Saturday, December 11, 2010, mike_sukhi wrote: > > > PLease any body help >>MEEE > > > > On Dec 11, 1

[wtr-general] Re: unable to click on list list item inside a div

2010-12-11 Thread mike_sukhi
i dont know wht to try On Dec 11, 6:43 pm, Željko Filipin wrote: > What have you tried? > > Željko > > On Saturday, December 11, 2010, mike_sukhi wrote: > > PLease any body help >>MEEE > > > On Dec 11, 1:49 pm, Arto Vuori wrote: > >> Try fire_event with "onclick". > > >> --A. Vuori > >

[wtr-general] Re: are you sure you want to navigate from this page.

2010-12-11 Thread Darryl Brown
Hello Basim, The dialogue that contains "Are you sure you want to navigate from this page" is commonly known as a popup. They can readily be handled in Watir. Just read the links provided by Željko. Give them a try. If it doesn't work, post what you tried. Regards, Darryl On Dec 9, 9:03 am, Bas

[wtr-general] Re: Unable to identify the object error

2010-12-11 Thread Darryl Brown
Hello Sudeep, When you use the irb example, do not use the '1.2.3.4' address. Use the address of the web server that you are trying to test. The 21.233967 load time indicates that the page was not found (it took a really long time to load). Regards, Darryl On Dec 10, 2:37 am, sudeep pattnaik w

Re: [wtr-general] unable to click on list list item inside a div

2010-12-11 Thread Željko Filipin
What have you tried? Željko On Saturday, December 11, 2010, mike_sukhi wrote: > PLease any body help >>MEEE > > On Dec 11, 1:49 pm, Arto Vuori wrote: >> Try fire_event with "onclick". >> >> --A. Vuori >> >> On Dec 11, 10:31 am, mike_sukhi wrote: >> >> > hi the code is : >> >> > > > onm

[wtr-general] Re: unable to click on list list item inside a div

2010-12-11 Thread mike_sukhi
PLease any body help >>MEEE On Dec 11, 1:49 pm, Arto Vuori wrote: > Try fire_event with "onclick". > > --A. Vuori > > On Dec 11, 10:31 am, mike_sukhi wrote: > > > hi the code is : > > > > onmouseout="MainMenuOut(this,'application')" > > onmouseover="MainMenuIn(this,'application')" class

[wtr-general] Re: unable to click on list list item inside a div

2010-12-11 Thread mike_sukhi
arto ..how to use fireevent..im not getting any success from available examples On Dec 11, 1:49 pm, Arto Vuori wrote: > Try fire_event with "onclick". > > --A. Vuori > > On Dec 11, 10:31 am, mike_sukhi wrote: > > > hi the code is : > > > > onmouseout="MainMenuOut(this,'application')" > > onmous

[wtr-general] Re: unable to click on list list item inside a div

2010-12-11 Thread Arto Vuori
Try fire_event with "onclick". --A. Vuori On Dec 11, 10:31 am, mike_sukhi wrote: > hi the code is : > > onmouseout="MainMenuOut(this,'application')" > onmouseover="MainMenuIn(this,'application')" class="menuLink"> href="#">Application class="applicationSub">Setting > > Video File onclick="Chan

[wtr-general] unable to click on list list item inside a div

2010-12-11 Thread mike_sukhi
hi the code is : ApplicationSetting Video FileFTP SD Card SMTP LED Settings RecordEnable Record Schedule after clicking on Application the list items visible.inside like a vertical menu.bar.. i have to click on sd card ..SMTP..like page..these are links..on clicking thm page loads..plz hel