Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to verify data from UNIX file
#1
Not Solved
Hello,
I am new to QTP and working on script that need to compare data from UNIX file with DB tables. Could someone help me confirm if QTP allows UNIX file data comparison with DB.
Reply
#2
Not Solved
Hi,

First of all QTP directly does not allow UNIX operations
Here is what I can think of:

1. First of all you need to ftp data or files (ASCII mode) to Windows text file and then make it compatible with windows file structure. Unix does not have CRLF.
2. Then you need to Connect to Database which you're using. may be copy the data which you need to compare in a variable or file
3. Use vbscript's string manipulation functions to compare data.

let me know if that helps
Deepak
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  dtLocalSheet empty even though excel file contains data cantorre 2 2,450 05-10-2017, 12:47 PM
Last Post: vidhi
  [UFT] [WPF] Verify if the cell contains an image robertosalemi 0 1,917 10-25-2016, 06:57 PM
Last Post: robertosalemi
  Grab multiple line data from log file haziqwebs 0 1,820 10-19-2016, 01:28 PM
Last Post: haziqwebs
  Need to verify the drop down values based on condition santhoshmscsoftware 1 2,968 05-04-2016, 11:28 PM
Last Post: supputuri
  verify that parent properties match object currently displayed in your application. sona 0 3,146 02-21-2016, 12:00 PM
Last Post: sona

Forum Jump:


Users browsing this thread: 1 Guest(s)