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

Hi - I am trying to use Perl to run a simple test script on Java app. I need to run same testcase for ALL the items on one of the app's dropdown controls. Problem is - content of that control ie. item on that dropdown list may change from build to build and there is a LOT of them 50+ so not feasible to simply copy them by hand. Is there any way to use Perl to extract content of such control? I tried GuiTest module - it does ok job in controlling the pp although it does not seem to see any child windows on it - just the main one - of class SunAwtFrame - I can do SenKeys and it is sufficient to run the test but I really need to enumerate results by the content of that control. Perhaps there is another tool better suited for the task of running Java app? TIA for any pointers/references/hel, JT
  • Comment on using Perl to scrape content of drop down control in Java app?

Replies are listed 'Best First'.
Re: using Perl to scrape content of drop down control in Java app?
by keszler (Priest) on Oct 10, 2011 at 03:14 UTC

    Have you considered having your Perl parse the java source files to extract the dropdown items?