05-31-2008, 01:44 AM
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?
Pulling Data From Reports
|
05-31-2008, 01:44 AM
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?
what type of file is it??
06-02-2008, 06:04 PM
It would be a .txt file. Thanks.
06-03-2008, 04:06 AM
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.
06-04-2008, 10:00 AM
As Anshoo suggested please use FileSystem Object.
06-04-2008, 06:10 PM
Thanks for the help.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Customized HTML reports in QTP | azeem | 11 | 49,606 |
12-31-2016, 02:57 PM Last Post: chevronneraji |
|
QTP 11.5 Install, Pulling my hair out. HELP! | vicbitter | 9 | 14,073 |
03-13-2013, 09:36 PM Last Post: QTP11user |
|
Reports | shayk1985 | 3 | 4,071 |
01-03-2013, 10:11 PM Last Post: diya |
|
How to test custom built reports, stored procedures using QTP | azar80 | 3 | 5,372 |
01-12-2010, 10:19 AM Last Post: Saket |
|
Unable to Record Reports | nilu verma | 0 | 1,510 |
12-10-2008, 01:34 AM Last Post: nilu verma |