Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to open a text file through VB scripting.?
#1
Not Solved Exclamation 
HI,
The AUT which I have a tree structure. it is a very big one. So What I am planning is to give the names of the links in that tree structure with a unique identifier in a text file with a variable that links the element.

ie, For eg:
In text file I wl give for one link "Photos" as

scn_pic<space>Photos<space>a

Here scn_pic is the unique ID and Photos is the name and a is the variable that tells me this is the link where I have to click. So in that way I wl be linking the whole tree structure with a variable.
The variable a should be given as a parameter in the test case through an excel.

Actually I want to open this text file and parse it to get the info required.
Can anybody help here to get me a QTP vb scripting. Or please suggest a different way.

Thanks
Vivek
Reply


Messages In This Thread
How to open a text file through VB scripting.? - by qtplearner88 - 06-18-2012, 10:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Scripting spixol 0 1,496 12-15-2019, 01:14 PM
Last Post: spixol
  VB scripting Aisha2015 0 2,375 08-07-2015, 02:21 PM
Last Post: Aisha2015
  Regarding Shell Scripting demoqtp 2 4,344 03-31-2015, 12:34 AM
Last Post: demoqtp
  How to read a text file using FSO from bottom to up order?? vallalarasu.p 0 2,502 10-13-2014, 11:14 AM
Last Post: vallalarasu.p
  how to create text file swayam 1 2,846 05-29-2014, 01:25 PM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)