Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
File Pointers Reset When Using Subroutines
#1
Not Solved
I have a text file I am reading line by line that is driving my testing.  I know I could have used the UFT Data area as well but we already have these text files that are easy to read and parse, but are a bit of a pain to export to UFT or Excel. because each line is different. I have a subroutine that reads each line of the file until End of File is reached.  I also have code that based on the line of text read, will jump to another sub-routine and do something and then jump back.  To my surprise and unlike an Excel macro, this is starting my file read over again from the beginning and leading to duplicate tests. What is the best way to fix this issue?

Thank you,
Zune  Cool
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  ISO file is downloaded as 1 kb from HP Mercury site..can't mount file either.... amipraj1 1 3,941 04-06-2011, 03:12 PM
Last Post: Ankur
  How to Compare two XML files, when one file is Uploaded File and the Other is Exporte Ganta 3 4,461 10-26-2009, 03:22 PM
Last Post: Ganta

Forum Jump:


Users browsing this thread: 2 Guest(s)