Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
XML Read Functions
#1
Not Solved
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..
.txt   New Text Document (5).txt (Size: 17.38 KB / Downloads: 94)
Reply


Messages In This Thread
XML Read Functions - by Nish - 11-25-2011, 02:54 AM
RE: XML Read Functions - by nil111 - 11-26-2011, 03:14 PM
RE: XML Read Functions - by Nish - 11-26-2011, 11:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Inserting variable values into Descriptive Programming Functions eske99 2 3,520 12-18-2015, 01:47 PM
Last Post: vinod123
  Passing objects to Functions vinod.nhce 0 3,300 03-13-2014, 06:09 PM
Last Post: vinod.nhce
  vb script to stop execution of functions if conditions fail visitjaga 1 7,391 12-05-2013, 12:26 AM
Last Post: ravi.gajul
  Getting an 'Error in XML document' Error when submitting web services XML luckyexpert 0 3,128 08-20-2013, 10:23 PM
Last Post: luckyexpert
  XML Data read and extract output in an array SweetyChowdhury 9 7,779 05-10-2013, 03:05 PM
Last Post: SweetyChowdhury

Forum Jump:


Users browsing this thread: 1 Guest(s)