Hi
I am constantly getting held up with this problem.
I am working on a java rich application and QTP 9.5 has no problems with that part but in my application some of the child windows are microsoft WINDOWS gui's.
When this happens i either record or add the objects in to the repository which...
I am testing it now and it is working fine.
So thanks again...
Another issue (I probably should start a new thread...) Do you know a way I can increment the hour in this system call?
-> "09" is the start hour and i want to call system() at 5 mins intervals until 23:59:59...
Hey,
I tried stevexff suggestion and it worked.Here is my working code.
#!/usr/bin/perl
use strict;
use warnings;
open(INFO, "Port25_05_03");
while (<INFO>){
print"$1\n" if (/totalbytes:(\d+\.\d+\w)/);
}
close(INFO);
I have been look at regex today. I can get my head arounf them but I think I am having problems with the blank space after "bytes:__". Here is my code.
-------code------------------------------------
#!/usr/bin/perl
$X=[0..100];
$Y=[0..100];
$search="total bytes: $X.$Y M,";
open(INFO...
Hi
I have to search a file for a floating point number.
"Summary: total flows: 1027, total bytes: {{9.2}} M, total packets: 18251, avg bps: 259145, avg pps: 60, avg bpp: 531"
The number is between the double chain brackets in the above string.The number is not always the same and this string...
That is working way better....
Some more tweaking and il get it.
Thanks alot guys...I must say since i have joined this form the quick responses and accuracy of the replays are outstanding!!
Thanks again...
Hi again..
Thanks for the quick replys and they really helped me sort out my problems..
another question...i have a program that can read files and print their extension. I need to extract information from this extension is there a way to do this?
Example: nfcapd.200803052325
I need to get...
Hi
I want Perl to make a system call to nfdump. nfdump has a specifc command list. Here is an example.
nfdump -R /../../ -t YYYY/MM/DD.09:00:00-YYYY/MM/DD.10:00:00
does anyone no how I can use system call to do this? But I also need to keep the Year Month and Day variables changeable.
Sorry...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.