Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Keep It Simple, Stupid
 
PerlMonks  

Re: Using WWW::Selenium To Test Or Automate An Ajax Website

by Limbic~Region (Chancellor)
on Nov 20, 2008 at 23:40 UTC ( #725020=note: print w/ replies, xml ) Need Help??


in reply to Using WWW::Selenium To Test Or Automate An Ajax Website

All,
On 2008-11-20, I changed the heading on a couple of sections and added two new ones:

  • Setting Hidden Parameters
  • Triggering JS Events

I have found getting help with Selenium problems hit or miss, so if you come across a "how do I" that you can't figure out, reply here and I will see what I can do.

Cheers - L~R


Comment on Re: Using WWW::Selenium To Test Or Automate An Ajax Website
Re^2: Using WWW::Selenium To Test Or Automate An Ajax Website
by Anonymous Monk on Jul 24, 2009 at 14:50 UTC
    I'm having trouble verifying data in an Unordered List. I've tried using the Xpath as well as the Ids, but Selenium does not find them. Any advice would be very much appreciated. Thanks!
      Anonymous Monk,
      That question wasn't very specific so my response will be somewhat generic.

      First, did you use the IDE to record a session that selects the item from the unordered list? If so, does replaying yield the same results? If not - you should start there.

      Second, you say "... trouble verifying data in.." which leads me to believe you are not using the select() method but perhaps the get_select_options() method. It is hard to trouble shoot without knowing which method you are using and how are you using it (example)?

      Third, If there is truly some reason WWW::Selenium doesn't have a method you need, you have a number of options. You could use one of the myriad of HTML parsing modules on CPAN and parse it yourself. You could subclass it and fix which ever method is broken.

      Cheers - L~R

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://725020]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2014-04-16 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (422 votes), past polls