06-18-2012, 10:04 AM
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
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