how to retreive the xml file data through qtp.can anybody
send script for this..
Answer Posted / vaibhav
Function Load_Env_Xml()
strLocalPath1 = Environment.Value("D:AutomationResourcesGenaric Files") & "GlobalData.xml"
Environment.LoadFromFile strLocalPath1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How many types of recording modes in the qtp?
Tell some commonly used Excel VBA functions?
Can I change properties of a test object?
is it possible to add sheets to excel at runtime
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
What is test object?
i have to login into gmail loginpage i have to pass testcase into userid and password by using functions. the test case of user id is it should take only lowerletters alphabetin between 4 to 6 length.it should not take spectial letters.it should not take numbers.testcase for password is it should take numbers and it should not take alphabets note the following things must happen 1 when i give correct password and userid that password and userid should be seen in QTP result and notepad,xl sheet 2 when i gave in valid password the system willgive message please give valid password that particular messaage should be seen in QTP result,norepa and xl sheet
why text area checkpoints cannot used for web applications
how u will evaluate the tool for test automation?
What is data driver in qtp? Where we use it?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
In what occasion we can specify global sheet and action sheet?
Can you brief the hurdles you faced during Automation testing?
What are the different types of qtp test assets and their extensions?
What is action? How many types of actions are there in qtp?