[wtr-general] Passing in a host header?

2014-01-09 Thread Stephen Nelson-Smith
The requirement: The website under test must be called with a specific name. In DNS that will resolve to something other than the machine against which I am testing. If I hit the IP I will get the default vhost, not the website I wish to test. Suggested solutions: 1) Make Watir pass in a

[wtr-general] Re: problem with using watir and win32ole together

2014-01-09 Thread marcwestwood0502
the order of the requires are ... require 'rubygems' require 'watir' require 'win32ole' versions are ... bigdecimal (1.2.0) childprocess (0.3.9) commonwatir (4.0.0) ffi (1.9.3 x86-mingw32) io-console (0.4.2) json (1.7.7) mini_magick (3.5.0) mini_portile (0.5.2) minitest (4.3.2) multi_json

Re: [wtr-general] Watir responds very slowly for a big line of code

2014-01-09 Thread Oscar Rieken
you dont need all of that to locate those elements by their id. you can probably get away with just switching to the you need frame once and then performing the actions. on that frame. you are pretty much traversing the dom to find your element On Thu, Jan 9, 2014 at 12:10 AM, Sanjeev Singh

Re: [wtr-general] Watir responds very slowly for a big line of code

2014-01-09 Thread Chuck van der Linden
On Thursday, January 9, 2014 4:56:44 AM UTC-8, Oscar.Rieken wrote: you dont need all of that to locate those elements by their id. you can probably get away with just switching to the you need frame once and then performing the actions. on that frame. you are pretty much traversing the dom

[wtr-general] Re: Watir responds very slowly for a big line of code

2014-01-09 Thread Sanjeev Singh
This is so nice of you Chuck. This really worked. Both the codes to click on the button also worked. Just one thing I am unsure about is the behavior of the Firefox browser. When I run the below 3 lines of code, I get the below(image). They are supposed to be like the second image. But this