Re: Perl Module for Web based GUI applications
I have used these perl modules in the past which help automating
If u want to do it on Windows and interested only in IE , try this
If u want to do test automation then try this Test-WWW-Simple
Hope this helps
Browser Based Testing/Automation Framework Selenium.
Happy Programming :)
--- In email@example.com, "shailesh" <shail_hegde@...> wrote:
> Hi Santosh, I installed the Selenium server succesfully. Am able to
> open web pages, etc using its commands. I am now using a Perl Module
> called WWW::Selenium as an interface to this tool, for automating
> some web based ui tests.
> I am able to open the html page i want to, from within the perl
> script. However, i cannot figure out how to click on the links
> present on my first html page.
> There is a concept of "Element Locators" for link, dom etc, but the
> explanation on the CPAN site about using these in ur script is not
> very clear.
> This is what i want to do:
> #initialing code here
> $page->open("http://<some url>.html"); # this works
> Next i need to use a "Link" element locator to specify the link on
> this page.
> How do i give the link as an element locator; so that that link gets
> opened automatically upon clicking that locator.
> I tried this : $page->click("<LinkTextHere>"); but says 'ERROR
> Element <LinkTextHere> not found' etc.
> Plz let me know.
> --- In firstname.lastname@example.org, "Santosh Kumar"
> <kadlisantosh@> wrote:
> > try looking into,
> > http://search.cpan.org/~lukec/Test-WWW-Selenium/lib/WWW/Selenium.pm
> > http://www.openqa.org/selenium/
> > This should help you to some extent.
> > Regards,
> > ~Santosh
> > ----- Original Message -----
> > From: shailesh
> > To: email@example.com
> > Sent: Wednesday, July 05, 2006 3:35 PM
> > Subject: [perlguitest] Perl Module for Web based GUI applications
> > Hello guys,
> > I've used Win32::GuiTest for Windows Applications and have loved
> > it.However, I am now looking for something that'll help me use
> > functions avaliable in Win32GuiTest to automate user's actions
> on a
> > web page.
> > Is there a Perl module available for this ? Win32 Test is not
> able to
> > get the handles of the child objects on a web page such as edit
> > etc. Even SendKeys for TAB etc do not work :-(
> > If not Perl, any other language i could use for the same.
> > Would appreciate any kind of support.
> > Thanks
> > Shailesh.
> > [Non-text portions of this message have been removed]