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

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

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://725020]
NodeReaper sees 10 souls
shmem sees a creepy one
choroba is at a security training
[choroba]: the presenter was able to fix an expired certificate in their demo application, but now he's getting java stacktrace instead of the pages
[virtualsue]: Thank you, Discipulus. I must now go write some code. :-)

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2018-04-24 11:10 GMT
Find Nodes?
    Voting Booth?