write vb script code to delete the duplicate values in an
array.
Answer Posted / guest
dim a
aList=Array(5,5,5,5,12,10,15,10,125,5)
Dim sNewList
dim newArray
b= ubound(aList)
For x=0 to b
If InStr(sNewList,(aList(x) & ",")) <= 0 Then
sNewList = sNewList & aList(x) & ","
End If
Next
newArray = split(sNewList,",")
MsgBox sNewList
Is This Answer Correct ? | 37 Yes | 10 No |
Post New Answer View All Answers
By using QTP can we record any log files written by the application which is in execution?
Explain different types of checkpoints?
Explain the types of object repositorys in qtp?
QTP 10.0 is not identifying web objects for IE 8.it is identifying like winObject.I installed HP patch QTPWEB_00037.Still getting issue
Explain how qtp identifies objects?
How will you check a web application for broken links using qtp?
Is the qtp course will help to create a virtual object?
How the exception handling can be done using quicktest professional (qtp)?
What are the advantages of qtp?
Explain the concept of object repository and how QTP recognizes objects?
unique properties of button,edit box, radio button,check box?
explain structured testing? plz guys with exp. do answer
An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))
How do we analyze the checkpoint results?
distinguish between old version and new version QTP features.