What does SPLIT and JOIN commands do in Vbscript?
Answer Posted / chaitu
Split function is builtin function in QTP
it helps us to divide the string at desired place in a
string
for Ex:-
a = "C:/programmfiles/chaitufolder/chaitanya.doc"
here i want to change the file name of .doc then we can use
x = Split(a,"/") then we will get like this
split function
msgbox x(0) 'it shows this C:
msgbox x(1) 'it shows this programmfiles
msgbox x(2) 'it shows thischaitufolder
msgbox x(3) 'it shows this chaitanya.doc
Is This Answer Correct ? | 22 Yes | 2 No |
Post New Answer View All Answers
How to execute a winrunner script in quicktest professional?
Generic function to search for the unique link in webtable and click on it
what is supply chain management?
Difference between action & Reusable action?
What is the significance of “action 0” in qtp?
I am Facing Issues with learing datepicker 1)when i first learn datepicker as current system date . 2)if i wanna runtime datepicker value it gives error
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 the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
Did QTP prove efficient for your project? Yes or No, explain?
Have you used xml check point in your project? How?
What is the extension of the recovery scenario file in qtp?
Explain the check points in quicktest professional (qtp)?
How to use checkpoints in qtp ?
How to find array size in qtp?