Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi , I have a large input file which is of the form . I am developing a framework which would extract the no of Passed and Failed test cases . If the test cases is "***Passed***" then it should show on the Case-URL and Req-URL of the Passed test cases ,and similarly for the failed ones their own Case-Url and Req-URL must be shown . Please help me how do I extract that ..
Sample input file : Execution start time 09/13/2013 02:43:55 pm [Case-Url] - www.google.com [Req-URL ] - www.qtp.com ***Passed*** __________________________________________________________ [Case-Url] - www.yahoo.com [Req-URL ] - www.msn.com ***Passed*** ___________________________________________________________ [Case-Url] - www.google.com [Req-URL ] - www.qtp.com ***Failed***
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl regex extraction from a large input file
by toolic (Bishop) on Sep 13, 2013 at 23:47 UTC | |
by Anonymous Monk on Sep 13, 2013 at 23:51 UTC | |
by Anonymous Monk on Sep 14, 2013 at 00:36 UTC | |
Re: perl regex extraction from a large input file
by CountZero (Bishop) on Sep 14, 2013 at 09:20 UTC | |
by hdb (Monsignor) on Sep 14, 2013 at 09:51 UTC | |
by CountZero (Bishop) on Sep 14, 2013 at 10:20 UTC | |
by hdb (Monsignor) on Sep 14, 2013 at 10:30 UTC | |
Re: perl regex extraction from a large input file
by smls (Friar) on Sep 14, 2013 at 01:57 UTC | |
Re: perl regex extraction from a large input file
by TJPride (Pilgrim) on Sep 14, 2013 at 19:05 UTC |