On Wed, Jul 28, 2010 at 3:57 PM, Chan Nguyen atbl1...@gmail.com wrote:
My problem is that in our website, there are a lot of JavaScript. And I
currently could not find a way for Watir to deal with JS. :( !
Our site also uses javascript and Watir works just fine. What is the
problem?
Željko
--
Hello Zeljko,
I just tried to test our website.From my understanding, Watir has to know
the information of attribute of each element.( Eg. id, name...ect ).
However, our website have a lot of JavaScripts that deal with each element
in a cell of a table. By that, I mean, I can access to the cell of
Chan
There are many solutions to your problem
Try this one as it works for me
require 'watir'
test_site = http://svvarmls.rapmlsqa.com/;
ie = Watir::IE.new
ie.goto test_site
ie.text_field( :id, txtUserName ).set rapstaff
ie.text_field( :id, txtPassword ).set Succ3ss!
ie.button( :id, btnSubmit
I have just replied in another thread.
Željko
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
You received this message because you are subscribed to
http://groups.google.com/group/watir-general
To post: watir-general@googlegroups.com
To
Hi Basim,
If your credentials contain sensitive information, I strongly recommend
changing the password as google has probably already indexed this thread
Thanks a lot for your thoughtful concern. We definitely will change the
password. Another question is that how where did you find the SubMenu
HI Chan
From my previous post, I used firebug to identify the element and with
combination of irb and sending the events I was able to determine the
submenu elements
On Wed, Jul 28, 2010 at 10:49 AM, Chan Nguyen atbl1...@gmail.com wrote:
Hi Basim,
If your credentials contain sensitive
Hi Basim,
Thanks a lot for your clean explanation. ;)
On Wed, Jul 28, 2010 at 8:27 AM, Basim Baassiri ba...@baassiri.ca wrote:
HI Chan
From my previous post, I used firebug to identify the element and with
combination of irb and sending the events I was able to determine the
submenu
Hi Basim,
Could you help me explain why table[7][1] is a Quick Search ? I'm a bit
confused about this case.
Thanks,
Chan Nguyen
On Wed, Jul 28, 2010 at 8:29 AM, Chan Nguyen atbl1...@gmail.com wrote:
Hi Basim,
Thanks a lot for your clean explanation. ;)
On Wed, Jul 28, 2010 at 8:27 AM,
Hello Tiffany,
Thanks for your help. I actually did go through that example, but in that
cell there are a list of options that I have to pick one:
- Quick Search
- Saved Search
- Standard Search
...etc
and there is no click option for a cell. I really struggle with this :( !
Can you give me some
Hi Chan
You might need to use the fire_event method to trigger the javascript in the
hover menu.
browser.table(:id, uwmMainMenu_MainM).fire_event onmouseover
td = browser.table(:id, uwmMainMenu_MainM')[2][1]
td.fire_event onfocus
# or
td.fire_event onclick
Basim
On Tue, Jul 27, 2010 at 4:22 PM,
Hi Tiffany,
I tried your method, but it gave me errors. I use NetBean IDE
Beginning of test: Sedona Verde Valley
Step 1: go to the test site: http://svvarmls.rapmlsqa.com/
Step 2: enter username : rapstaff in the Agent ID field
Step 3: enter password : Succ3ss! in the Agent ID field`
Step 4:
Hi Basim,
Thanks a lot for your help. Your solution makes a lot of sense to me. To be
honest, I'm a newbie to Ruby, HTML, and web environment. I'm working as an
intern. My strongest skill is C++, but this company is all about C#, .NET,
ASP.NET, Java... I have to learn 3 languages for about a month
Hi Chan
What code did you try to choose Quick Search?
Basim
On Tue, Jul 27, 2010 at 4:55 PM, Chan Nguyen atbl1...@gmail.com wrote:
Hi Basim,
Thanks a lot for your help. Your solution makes a lot of sense to me. To be
honest, I'm a newbie to Ruby, HTML, and web environment. I'm working as an
13 matches
Mail list logo