tag:blogger.com,1999:blog-3154230739686508173.post6768251211550577846..comments2023-04-02T15:36:00.230+03:00Comments on Easy way to automate testing: How to update XML file from QTPDmitry Motevichhttp://www.blogger.com/profile/03519257111492581809noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-3154230739686508173.post-31925832542127642742009-09-12T18:28:51.746+04:002009-09-12T18:28:51.746+04:00It's a very useful information; clear and conc...It's a very useful information; clear and concise explanation; easy to understand.<br /><br />Thank you for sharing.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-8586410756230220412009-08-28T05:28:52.511+04:002009-08-28T05:28:52.511+04:00I tried the code mentioned above to update a node ...I tried the code mentioned above to update a node in XML. I get "Object Required" Error.<br />Any help would be greatly appreciated!!<br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-20695679053481806402009-02-16T03:41:00.000+03:002009-02-16T03:41:00.000+03:00Hi,I have used the below mentioned example to auto...Hi,<BR/>I have used the below mentioned example to automate my application. But I was stuck up @ parameterizing the "Book[2]" When accessing nodes i want to use generalize it instead of mentioning 2 or 3 in braces. When i try to pass as parameter it is not reading any elements with in the node. Please help me in solving the issue.<BR/>' select a parent node<BR/>Set parentNode = xmlDoc.SelectSingleNode("/bookstore/book[2]")<BR/><BR/>' add its attribute<BR/>Set newAttrib = xmlDoc.CreateAttribute("bestseller")<BR/>newAttrib.Text = "yes"<BR/>parentNode.Attributes.SetNamedItem(newAttrib)Girihttps://www.blogger.com/profile/10546347690573499157noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-18485682051320796992009-02-07T21:18:00.000+03:002009-02-07T21:18:00.000+03:00@Anonymous (January 28, 2009),I didn't face such i...@Anonymous (January 28, 2009),<BR/>I didn't face such issue.<BR/>So, I'm afraid I cannot help you.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-78599542288264038482009-01-28T10:28:00.000+03:002009-01-28T10:28:00.000+03:00Hi I tried your example.while running it is giving...Hi I tried your example.while running it is giving error saying that object required:'node'. could you please tell me how to do that.<BR/>(I downloaded your xml file, then I write the eg. in qtp test. This is what I did.)<BR/>Thank you in advanceAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-3419004173428696372008-10-26T11:00:00.000+03:002008-10-26T11:00:00.000+03:00hi motevich thanks for your reply iam greatful to ...hi motevich <BR/>thanks for your reply iam greatful to you for helping me in resolving my queries in Qtp and i have one query in my mind i.e how can we modify a node name can u plz suggest me <BR/> thanks in advancePavan Chennamhttps://www.blogger.com/profile/01605470063484240500noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-85873008926268583342008-10-21T01:38:00.000+04:002008-10-21T01:38:00.000+04:00Hello dmitry,I really liked your Loadrunner video ...Hello dmitry,<BR/><BR/>I really liked your Loadrunner video tutorials.It was of great help.Thanks a lot!<BR/>Can you guide me as to how do I go about learning Loadrunner?<BR/>Can please give us a step by step procedure to become a loadrunner expert that would be great :)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-86894050591612776252008-10-14T08:23:00.000+04:002008-10-14T08:23:00.000+04:00@Sonny,What does it mean - "any help appreciated"?...@Sonny,<BR/>What does it mean - "any help appreciated"?<BR/>Sorry, but I do not plan to do your work and to write QTP scripts instead of you...Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-30304725423350852702008-10-14T08:19:00.000+04:002008-10-14T08:19:00.000+04:00Hi,I am using QTP to record SAP Portal, I am havin...Hi,<BR/>I am using QTP to record SAP Portal, I am having hard time with qtp being able to record or recognize time entry cells in CAT2 SAP Tcode, any help appreciated!<BR/>also is there any way i can ask the qtp to go to next column everytime i run the test?Sonnyhttps://www.blogger.com/profile/18074565395339192256noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-55129607444329611912008-10-13T21:36:00.000+04:002008-10-13T21:36:00.000+04:00@Pavan Chennam,/bookstore/*@Pavan Chennam,<BR/>/bookstore/*Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-72758361568815657542008-10-13T10:53:00.000+04:002008-10-13T10:53:00.000+04:00hi this Pavan Chennam I have one problem with how...hi this Pavan Chennam <BR/> I have one problem with how to get all child nodes of parent in xml using qtp? please explainAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-57690075588454852912008-10-13T10:44:00.000+04:002008-10-13T10:44:00.000+04:00Hi this is Pavan Chennam Regarding to print all ...Hi this is <B>Pavan Chennam</B><BR/> Regarding to print all the child nodes of a parent node how we have to proceed further can you explain?<BR/><BR/>thanks in advancePavan Chennamhttps://www.blogger.com/profile/01605470063484240500noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-81794470291029549292008-10-09T00:58:00.000+04:002008-10-09T00:58:00.000+04:00@Anonymous (October 8), hi,I tried the above examp...@Anonymous (October 8), <BR/>hi,<BR/>I tried the above example ...it does not give me an error object required at the "node.Text = "Romeo and Juliet - Salvation" .Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-13487355513535748962008-10-08T13:41:00.000+04:002008-10-08T13:41:00.000+04:00hi, I tried the above example ...it gives me an er...hi, <BR/>I tried the above example ...it gives me an error object required at the "node.Text = "Romeo and Juliet - Salvation" .Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-28966181906267939372008-09-28T08:12:00.000+04:002008-09-28T08:12:00.000+04:00Check whether XML-file is correct.P.S. No detailed...Check whether XML-file is correct.<BR/>P.S. No detailed info - no precise answer.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-39380637967432643082008-09-28T07:48:00.000+04:002008-09-28T07:48:00.000+04:00Other problem: If I saved the xml file from FireFo...Other problem: If I saved the xml file from FireFox, the XMLDOM cannot parse it. The value returned by "xmlDoc.load()" method is False.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-50338370660584304562008-09-28T07:38:00.000+04:002008-09-28T07:38:00.000+04:00@ Jerryzhang,Thank you. I didn't know this method....@ Jerryzhang,<BR/>Thank you. <BR/>I didn't know this method.Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-27240384805637297002008-09-28T07:35:00.000+04:002008-09-28T07:35:00.000+04:00Thanks for your reply. I found that "xmlDocumentNo...Thanks for your reply. <BR/>I found that "xmlDocumentNode.cloneNode(true)" method can copy existed node ,and it's childnodes.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-27502456791309833332008-09-28T06:45:00.000+04:002008-09-28T06:45:00.000+04:00@ Jerryzhang,Add new XML node and assign a require...@ Jerryzhang,<BR/>Add new XML node and assign a required value (from an initial existed node).Dmitry Motevichhttps://www.blogger.com/profile/03519257111492581809noreply@blogger.comtag:blogger.com,1999:blog-3154230739686508173.post-68612002251515181252008-09-28T06:38:00.000+04:002008-09-28T06:38:00.000+04:00It's very useful!How to append a new node as one c...It's very useful!<BR/>How to append a new node as one copy of an existed node ?Anonymousnoreply@blogger.com