While running multiple test concurrenty does each thread run parallel or
sequentially.
For eg
require 'thread'
require 'watir'
def test_google
ie = Watir::IE.start('http://www.google.com')
ie.text_field(:name, q).set(pickaxe)
ie.button(:value, Google Search).click
end
`
#
hi
i tried calling parent span using
ie.span(:id, Sessions).click
ie.span(:id, Sessions).fire_event(onsubmenu_click)
but this gives the error the following error
WIN32OLERuntimeError: fireEvent
OLE error code:80070057 in htmlfile
Invalid argument.
HRESULT error
hi,
on executing following command
$ie.frame(:index,2).show_all_objects
i get the object
image name=WorkOrderSummary1$roundedGroupBox$ibtnNewWorkOrder
id=WorkOrderSummary1_roundedGroupBox_ibtnNewWorkOrder value=
alt=New WorkOrder
yes it worked as a button. Although i am surprised why image worked as button.
thanks for the help!
___
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general