11-25-2011, 02:54 AM
Iam a beginner in QTP and working for Energy services in Europe and the reason in writing this mail is i am facing problem in writing functions for reading data from our test harness scripts in which we get the result in an XML file .
The requirement/task was
it will be easiest to be pass down the full path name from the server for the file, as each night part of the test server set up is to copy all the files
A number of new QTP functions require to be written to support the a number of the user stories. These functions will read the ASA test harness script(Testdata XML and extract the following information:
- The Switching List bounded by <SwitchingList> and </SwitchingList>
- The Circuit Information for each Possible Restoration options held. Information to be captured for this function will be:
For each Potential Outage ID
- Possible Restoration details - There may be more than one set of possible restoration options for a given outage
- The full circuit information (There may be more than one circuit per Possible Restoration block)
[/quote]as mentioned above i need to pass these values to GUI and get the result which matches the xml data which i have attached to this post..
New Text Document (5).txt (Size: 17.38 KB / Downloads: 94)
The requirement/task was
it will be easiest to be pass down the full path name from the server for the file, as each night part of the test server set up is to copy all the files
A number of new QTP functions require to be written to support the a number of the user stories. These functions will read the ASA test harness script(Testdata XML and extract the following information:
- The Switching List bounded by <SwitchingList> and </SwitchingList>
- The Circuit Information for each Possible Restoration options held. Information to be captured for this function will be:
For each Potential Outage ID
- Possible Restoration details - There may be more than one set of possible restoration options for a given outage
- The full circuit information (There may be more than one circuit per Possible Restoration block)
[/quote]as mentioned above i need to pass these values to GUI and get the result which matches the xml data which i have attached to this post..
New Text Document (5).txt (Size: 17.38 KB / Downloads: 94)