Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pulling Data From Reports
#1
Solved: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week ago
what type of file is it??
Reply
#3
Solved: 10 Years, 9 Months, 1 Week ago
It would be a .txt file. Thanks.
Reply
#4
Solved: 10 Years, 9 Months, 1 Week 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: 10 Years, 9 Months, 1 Week ago
As Anshoo suggested please use FileSystem Object.
Reply
#6
Solved: 10 Years, 9 Months, 1 Week ago
Thanks for the help.
Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)