Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pulling Data From Reports
#1
Solved: 11 Years, 4 Months ago
Is there a way in QTP to verify data from a file? For example, our application generates a report to file. Can QTP verify that specific data is in the file?
Reply
#2
Solved: 11 Years, 4 Months ago
what type of file is it??
Reply
#3
Solved: 11 Years, 4 Months ago
It would be a .txt file. Thanks.
Reply
#4
Solved: 11 Years, 4 Months ago
I would advice you to look into FileSystemObject (FSO) Object to read/write from text files. If you want to search for a particular string within that text file, you can do it using Regular Expressions or the InStr/InStrRev functions.
Reply
#5
Solved: 11 Years, 4 Months ago
As Anshoo suggested please use FileSystem Object.
Reply
#6
Solved: 11 Years, 4 Months ago
Thanks for the help.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Customized HTML reports in QTP azeem 11 49,495 12-31-2016, 02:57 PM
Last Post: chevronneraji
  QTP 11.5 Install, Pulling my hair out. HELP! vicbitter 9 14,020 03-13-2013, 09:36 PM
Last Post: QTP11user
  Reports shayk1985 3 4,046 01-03-2013, 10:11 PM
Last Post: diya
  How to test custom built reports, stored procedures using QTP azar80 3 5,314 01-12-2010, 10:19 AM
Last Post: Saket
Question Unable to Record Reports nilu verma 0 1,498 12-10-2008, 01:34 AM
Last Post: nilu verma

Forum Jump:


Users browsing this thread: 1 Guest(s)