Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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:

Hi,

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.

Thx
Nubbel

Comment on Tailor Selenium IDE export to perl
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-12-28 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls