yes it works
but i have to attach with current window without specifying any title
string, any solution for that.
On Fri, Sep 11, 2009 at 11:24 AM, Angrez Singh ang...@gmail.com wrote:
Does giving full title works with firewatir?
On Fri, Sep 11, 2009 at 10:37 AM, Rajat Singhal
Hi Daary,
The flash will just flash off the element. But i need to verify that
the perticular element has been flashed/focused.
Thanks
Manoj
On Sep 11, 5:00 am, Darryl Brown d-l-br...@roadrunner.com wrote:
Hi Manoj,
You can use .flash in place of the focus
Darryl
On Sep 10, 9:39 am,
Hi Zeljko,
http://www.germane-software.com/software/rexml/
I tried the above website and followed the example as described
which recommends REXML which is inside ruby, however it does not work.
No errors even. Do i need to change configuration or make it enable
something to use
right now Firewatir only supports adding by URL and title. I look into why
regex is not working during attach.
- Angrez
On Fri, Sep 11, 2009 at 11:31 AM, Rajat Singhal coolraja...@gmail.comwrote:
yes it works
but i have to attach with current window without specifying any title
string, any
Hello Orde,
It sure works but I should have ask my question better.
The peoplesoft-b-test-b-b- analyst-b/brisbane can't be hard coded
into the xpath as it changes.
is there a way to use regexpr in the xpath? I think that /job/ is
always returns.
Cheers,
Guy
On Sep 11, 9:26 am, orde
For the comment below:
$ie.element_by_xpath(//img[contains(@src, 'report_delete.png')]).click
It can locate an image element, which has src attributes, for the
report_delete.png is just part of the src.
I think it can help you.
Thanks.
Wesley Chen.
On Fri, Sep 11, 2009 at 6:03 PM, Guy
Hello Manoj,
If you can flash an object, then you should be able to focus the
object There is no visual indication that the object has been focused
unless it is somewhere of the screen. I use it all of the time to
show
a certain part of page when the page larger than the screen size
during
Hi Darry
Thanks for your input. I am able to focus on the object. But my need
is to verify that that particular element has been focused. So is that
any method which return the status of the element which is focused(say
true) and for other element it should return false?
Thanks
Manoj
On Sep
Hi Angrez
I got a solution for this, i made a change in firefox.rb file in firewatir
gem
in find_window method in firefox.rb, i changed
jssh_command var regExp = new RegExp(#{what}.inspect); to
jssh_command var regExp = new RegExp(#{what});
and it works for .attach(:title,//)
Thanks
On
I am using the following to collect all the links on a page and now
need to select a particular link to click on;
$browser.links.each do |l|
#Relative link
if (l.href.first == /)
$url = $browser.url + l.href[1..-1]
else
$url = l.href
end
if
I am not able to attach to a new IE window. When I click on a link in
browser it opens new browser. I have to access elements in new browser
window. Can any one give suggession to access elements in new browser
window.
sample code I have written
Watir::Browser.default='ie'
On Fri, Sep 11, 2009 at 3:17 PM, dvkbabu dvkb...@gmail.com wrote:
in `attach_browser_window': Unable to locate a window with url of
'sample url' (Watir::Exception::NoMatchingWindowFoundException)
You have to use real page url instead of 'sample url'
Something like this:
browser1 =
Curious, I'm not sure if your issue was resolved, but I wanted to
let you know that I switched to WWW::Mechanize for a simple crawler
that was hitting around 10,000 pages. The script finished in under an
hour, verifying everything I needed. So, depending on your test cases
and requirements,
Hello Manoj,
For what you're trying do just put.exist?
in place of .focus. It will return true or false
Example:
$ie.frame(:index, 3).frame(:index, 3).button(:id, 'editButton').exist?
Darryl
On Sep 11, 7:57 am, manoj test...@gmail.com wrote:
Hi Darry
Thanks for your input. I am able
Hello Ravi
Please refer to the following link that has an example that closes
a popup using the Google preferences page.
http://groups.google.com/group/watir-general/browse_thread/thread/eeb37d3a8562936/e9ec1258c2aa547f?hl=enq=#e9ec1258c2aa547f
Regards,
Darryl
On Sep 11, 1:55 am, tester1
Have tried the line below but it gets confused because of the
extra //.
$links.detect { |$links| /^http://word/=~ $links }
Is it possible to tell watir/ruby to ignore the extra forward slashes?
Does this work?
$links.detect { |$links| /^http:\/\/word/=~ $links }
Hope it helps.
On Sep
?
Please let me know ASAP.
Thanks
Manoj
__ Information from ESET NOD32 Antivirus, version of virus
signature database 4417 (20090911) __
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__ Information from ESET NOD32
You need to write the regular expresssions in the correct format for this dude.
Best
Karim Rayani
On Sat, Sep 12, 2009 at 12:37 AM, orde ohil...@gmail.com wrote:
Have tried the line below but it gets confused because of the
extra //.
$links.detect { |$links| /^http://word/=~ $links }
Is
18 matches
Mail list logo