This is a discussion on How to modify an xml file using QTP? within the Software Testing forums, part of the Testing category; Basanth, the above code doesn't print anything. but if i select a file which has only the below content, QTP ...
|
|||||||
| Software Testing Software testing is a process used to identify the correctness, completeness and quality of developed computer software. |
![]() |
| LinkBack | Thread Tools | Search this Thread |
|
|||
|
Basanth, the above code doesn't print anything.
but if i select a file which has only the below content, QTP displays a log file during runtime & displays the below code in the log file. <Values> <ShippingAmount> </ShippingAmount> </Values> |
| Sponsored Links |
|
|||
|
Set xmlobj = XMLUtil.CreateXMLFromFile("D:\InvoiceLoad\Regression Testing\LeaseInvGap8OPDE_COA.xml")
rootelements = xmlobj.GetRootElement msgbox rootelements Try this. Is your D: drive on the local machine or it is a remote share ?? |
|
|||
|
I restarted QTP and also executed the script by placing the file in C: drive but displays the below msg as before.
Quote:
I'm not sure if therz a firewall in my machine and as i'm working from my off machine, i dont have access to view or to change the settings. |
|
|||
|
Intresting !!
I am unsure as to why you are getting that error...but this definitely looks to me like there is some issue with the response server. I may be wrong here, so the last i can help you is with the article below. http://support.microsoft.com/default.aspx?scid=kb;EN-US;915599 You receive one or more error messages when you try to make an HTTP request in an application that is built on the .NET Framework 1.1 Service Pack 1 Sorry pal, i tried my best...i am out of solutions. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| testing of .net aplication | naga_sri | Testing Tutorials | 1 | 02-16-2007 03:27 AM |
| Tutorial on Silk Test | spriya279 | Testing Tutorials | 2 | 02-15-2007 07:31 PM |
| Apple II Csa2 FAQs: Uploading & Downloading, Part 21/25 | rubywand@swbell.net | Tech FAQ | 0 | 05-04-2004 10:01 AM |
| Apple II Csa2 FAQs: Error List, Part 8/25 | rubywand@swbell.net | Tech FAQ | 0 | 05-04-2004 10:01 AM |
| Solaris x86 FAQ 2/2 | Dan Anderson | Tech FAQ | 0 | 04-27-2004 08:24 PM |