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

I am a beginner at QTP. My QA manager gave me QTP to play with and for me to figure out a way to automate all the test plans.

We use the actual software Debugview(NOT the QTP debugview) to establish that when we play a video clip, whether if it uses our video chip or not(we look for a certain output in debugview which confirms it).

Here's what I would like to do:

1)We need to play a clip lets say 500 times to do regression testing.
2) Everytime we play the clip, it activates the Video card and turns it off when the video shuts off. As i said earlier, we look at the kernel text output on debugview to see if it turned ON or not. I need to somehow find a way to save the text file from debugview and Search it for a certain text command. That command should show up 500 times on debugview log if the clip was played correctly using our chip.
I was able to use looping and figured out how to play and close the player over and over again.
What i cant figure out is how to parse the debugview file and count if that TEXT COMMAND showed up 500 times or not.

Ill appreciate it if anyone can help me with this.

Thanks,
Syed.
Reply


Messages In This Thread
Parsing Debugview output automatically using QTP - by retrocitric - 07-20-2010, 04:28 AM

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

Forum Jump:


Users browsing this thread: 1 Guest(s)