It looks like it's wrapped in a p tag, which should be accessible
via Watir:
puts @browser.p(:class, wpFieldValue).text
This has worked for me in the past.
-George
On Jul 15, 2:18 am, ryanthescot ryanthes...@hotmail.com wrote:
span class=wpFieldViewContent
I have a web application which has a tree structure. I m using Watir
to automate the application. Sometimes the test case fails where the
tree group is empty (no nodes under it). Hence there is no plus sign
to its left. However the application expects it to have nodes and
fails. How do I find out
Hi, newbie to watir and have question regarding on clicking the link
but page doesn't updated. During the execution I saw highlighted
yellow to the title link but the page did not changed. Saw same
problem on the thread but does not really fixed the problem. Below is
the command and the source
I have some basic experience with watir, but struggle to get a
javascript function called. More specifically, I try to get firewatir
execute a javascript function which is embedded in a table cell. This
cell contains a function to get a table with new results from a
database query. It looks like
Is anyone else having problems getting Watir to work with Internet
Explorer 8 after latest minor update pushed out by Microsoft. I'm now
on version 8.0.7600.16385.
It worked fine until the update yesterday, when `bam` it stopped
working.
My problem is when calling:
@ie = Watir::IE.new
Eddie,
Is your firewall blocking access to the port?
On Mon, Jul 19, 2010 at 10:35 PM, Eddie ed...@mattermedia.com wrote:
win2003 SP2 R2 x86
FF 3.6.6
jSSH XPI for FF 3.6
i am installed portable* FF as admin. in installed the XPI as admin. i
start firefox with firefox.exe -jssh, as admin. i
Hi Ashok
Its difficult to answer your question with no code example or html output
But I'm guessing if you check to see if the count (of nodes) is equal to
zero.
Good Luck
On Tue, Jul 20, 2010 at 12:33 AM, Ashok Prabhu ashokprab...@gmail.comwrote:
I have a web application which has a tree
Hi Ashok!
It's difficult to help with a solution with none of your code samples
or example html for the element you're trying to work with.
As a guess, I'd check to see if the plus sign image exists before
performing an action on the element next to it. You also might be
able to use the :after?
Hi!
Have you tried firing the javascript event associated with the link?
ie.link(:id,navigationTree:systemTargetProvisioningTypeCommand).fire_event('onclick')
I'd give this and your link click command a shot in irb to see if it
works.
Hope this helps!
-Tiffany
On Jul 20, 1:57 pm, lance
No, there was no firewall. server used only IPsec, and even with IPsec
OFF, i still had the problem.
I solved it by using FF 3.5.10 (and xpi 3.5). The problem that I had
then was:
Win32::Registry::Error in ProcessController#index
The system cannot find the file specified.
RAILS_ROOT:
Thank you for the responsed, yes already tried the fire_event command and
still the page can't be loaded.
Roland
On Tue, Jul 20, 2010 at 4:44 PM, Tiffany Fodor tcfo...@comcast.net wrote:
Hi!
Have you tried firing the javascript event associated with the link?
you should also do a
ie.show_all_objects
ie.show_frames
If your control is located within a frame (or a nested frame) this can help
out dramatically! I've spent hours trying to access a control to find out
it's in a frame!
On Tue, Jul 20, 2010 at 1:55 PM, Tiffany Fodor tcfo...@comcast.net
also tried that command and doesn't worked, during the execution there was
highlighted yellow on the target provisioning link and little flashing on
the page but the correct page doesn't want to upload. No error found for
this command.
On Tue, Jul 20, 2010 at 4:55 PM, Tiffany Fodor
Have you tried to use the link/span text - looks like it's 'Target
Provisioning'?
ie.link(:text, 'Target Provisioning').click
or
ie.span(:text, 'Target Provisioning').click
-Tiffany
On Jul 20, 3:24 pm, roland panganiban roland.pangani...@gmail.com
wrote:
also tried that command and doesn't
nope, also tried using the text/id or the title and getting the same
response.
iam thinking something is stopping on my local computer to execute this
command??hmm.
On Tue, Jul 20, 2010 at 5:27 PM, Tiffany Fodor tcfo...@comcast.net wrote:
Have you tried to use the link/span text - looks like
the GetResultForPage function will be defined on the window object, not the
document. I'm not sure if that js_eval will work, though, as I'm not sure
how you refer to the window in firewatir.
I recommend Vapir-Firefox, an updated fork of Firewatir. it will fire the
correct javascript events when
16 matches
Mail list logo