Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to save a text file automatically and search for some keywords
#3
Not Solved
Syed,

It is very simple. I will give you the logic, see if you can implement it.

1. ReadAll the data in the file.
2. SPLIT it line by line.
3. Find out if a substring exist in the whole line.
4. Introduce and iterate the counter where the value is found.
5. Report the final value of the counter.

PS : Vbscript should do, and the COM i am talkin about is Scripting.Filesystemobject.

Each line which i have provided has a keyword. Try to search and you will find the end of the road soon mate !!
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Reply


Messages In This Thread
RE: Parsing Debugview output automatically using QTP - by basanth27 - 07-20-2010, 02:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CyberArk CorePAS REST API to search for accounts pramod 0 933 06-29-2023, 03:11 PM
Last Post: pramod
MyBB how can i automatically click ok button in msgbox popup test 11 25,350 07-12-2022, 11:50 PM
Last Post: akash warke
  Extract and save a file from zip folder using VB Script karthicksri07 1 6,535 06-29-2016, 02:19 PM
Last Post: Ankesh
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 5,136 09-13-2015, 12:06 AM
Last Post: ADITI1992
  How to retrieve specied string from text file nsuresh316 1 2,565 06-09-2015, 12:24 AM
Last Post: nsuresh316

Forum Jump:


Users browsing this thread: 1 Guest(s)