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
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
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
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
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