how to retrieve the xml file data through qtp. can anybody
send script for this..
Answers were Sorted based on User's Feedback
Set oXML = CreateObject("Microsoft.XMLDOM")
XMLFilePath = "C:Book.xml"
oXML.Load (XMLFilePath)
Set BooksNameNode = oXML.SelectNodes("*//book/name/text()") 'Selecting all name nodes under book node
For i = 0 To (BooksNameNode.Length - 1)
BookName = BooksNameNode(i).NodeValue
MsgBox BookName
Next
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / aiswaryan
eg: giving input in the google search dialog box thro xml
data.
<Environment>
<Variable>
<Name>googlesearchfor</Name>
<Value>bike</Value>
</Variable>
</Environment>
add the above xml file in Test -> setting -> environmetn ->
userdefined.
go to keyword view of your recorded script (already
recorded). click the drop down button in the 'value' column
and select the environment parameter from the list.
Is This Answer Correct ? | 1 Yes | 1 No |
HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
hi i have one issue while automating the script using QTP i want scrool down .i cannot do even using scrool down methqad is not working .the object will take WebElement plz is there any code help me
how do close the task manager through QTP?
How to check bitmap output value?
How to export QTP results to an .xls file?
What are the problems / difficulties faced when you used Smart Identification ?
how can you write a script without using GUI in QTP?
what is run-time object in qtp? explain with example?
What is fragmentation and paging?
Explain sub procedure of vbscript.
plz anybody tell me how to explain the architecture of one particular project.plz give me answer for this.....RAJESH