Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

Tailor Selenium IDE export to perl

by nubbel (Novice)
on Dec 13, 2012 at 09:48 UTC ( #1008641=perlquestion: print w/ replies, xml ) Need Help??
nubbel has asked for the wisdom of the Perl Monks concerning the following question:


i want to tailor the export routine from Selenium IDE to perl, to use some selfe declared functions instead of the standard once.
If i check the heading of a web page, following code will be produced (out of the box) by the export routine:

$sel->text_is( "css=h1", "OnLine Catalog", "Check heading" );

I worte some functions for my framework, which increase this checks. Instead of "text_is" i want to use my "fw_text_check", which has exacly the same parameters. Of course, this can be done by search and replace, but it woud be more convinient to pimp the export routine.


Comment on Tailor Selenium IDE export to perl
Download Code

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1008641]
Approved by marto
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2016-02-11 01:50 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (358 votes), past polls