saran_techie has asked for the wisdom of the Perl Monks concerning the following question:

Dear Monks,
Can you suggest, the possible ways of getting the controls (such as textboxes, links, checkboxes, radio buttons, etc) in an application through perl scripting where the source code cannot be seen.
Thank You,
Saravanan.S
  • Comment on How to get the controls in an application?

Replies are listed 'Best First'.
Re: How to get the controls in an application?
by marto (Cardinal) on Feb 12, 2009 at 14:47 UTC
Re: How to get the controls in an application?
by Anonymous Monk on Feb 12, 2009 at 14:21 UTC
    Perl source code is executable and the source should be in cgi-bin so the source cannot be seen, only executed by the web server. The HTML the Perl prints is sent to the browser so it is always visible as the source of the displayed document.

      In Usage of perl scripting in Testing, you ask about testing. Some of what you want to do can be accomplished with some testing frameworks. I think that there is something like mechanize for Win32, maybe selenium, or others.

      --MidLifeXis