a question please....

#1
******
is the flash method not available for elements determined by 
element_by_xpath... 
for example 

$browser.element_by_xpath("//div[.='Save and Go Live']/..").click       ### 
Works!
$browser.element_by_xpath("//div[.='Save and Go Live']/..").ID       #### 
works ...gives me the correct ID of  the element i want to reach
$browser.element_by_xpath("//div[.='Save and Go Live']/..").flash   
######Doesnt' work....gives me  "WIN32OLERuntimeError: unknown property or 
method `flash' "

#2
****
also i have another issue.... when i use one of the above mentioned click 
method on an element determined by xpath in Ruby Interpreter , it works just 
fine for me...but it goes click METHOD not found ...when i use it in a 
script and run in (I did make sure i inserted sufficient Sleep() to execute 
the click only after the required page is fully loaded.... still i get 
"click Method not found"

thanks/regards,
ashish


-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to