Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 pondering the Monastery: (10)
As of 2015-07-29 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (263 votes), past polls