Call extractor pattern via a script
Hi,
I probably missed this part in the tutorials but I really don't find the way how to call an extractor pattern from a script.
Let's define 3 extractor patterns, e_p_1, e_p_2, e_p_3. Now, e_p_1 should call e_p_2 "once if pattern matches" or call e_p_3 "once if no matches".
I thought, the way to achieve this would be calling for each scenario a script that calls the appropriate extractor pattern. How do I do that? The extractor patterns are in the same scrapeable file.
Thank you for your help,
Edgar
Here is the method:
Here is the method: http://community.screen-scraper.com/API/extractData, and I would just make 2 seperate scripts, and run separately on match or no match.