How to retrive XML file data in QTP ? using Script(Chandana)
Answer Posted / sandipgami84
Hi Chandana,
u can retrive data from database(XML fromet)..
u can use SQL..
LIKE e.g. Select * FROM TableName For XML Type, AUTO
Sandip
Cell No: 09986645937
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
what is command for executing files?
How to run a test using quicktest professional (qtp)?
How can we retrieve the Bug Ids which are open&Reopen in status through QTP scrit?Please find the script which i tried... Dim objBugFactory, objBug Dim BugId Set TDConnection = QCUtil.TDConnection Set objBug = TDConnection.BugFactory If QCUtil.IsConnected then Reporter.ReportEvent 0, "Connected", "Connected to server: " + QCUtil.TDConnection.ServerName + chr (13) +"Project: " + QCUtil.TDConnection.ProjectName + chr (13) + "Domain: " + QCUtil.TDConnection.DomainName Reporter.ReportEvent 0, "Current time on server is","==>" & TDConnection.ServerTime Else Reporter.ReportEvent 1, "Not connected", "Not connected to Quality Center" End If If mybug.Status="Open" Then BugId=mybug.DefectId MsgBox BugId End If 'OR**********************************--------------------- -----********************************** If Bug_Fields("BG_STATUS").Value ="Open" Or "Re Open"Then BugId=Bug_Fields("BG_BUG_ID").Value MsgBox BugId End If
I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .
explain how to write vb script in qtp?when will you write own script?
Explain about datafile/verification of date file when file is not available in local system?
What is QTP’s model for test creation?
How to use the object spy in quicktest professional 8.0 version?
What is output value? How many types of output values are there in qtp?
What are the various automation frameworks available in qtp?
What is the extension of the qtp local repository? If it is .mtr then what is .bdb extension stands for?
1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
Is it possible to call from one action to another action in qtp?