i have an array CAPGEMINI .....Here i need to check whether
G is there or not ..how to do that
and friends i have one big doubt that is
whether it is array or string ,how we come to know that and
where we consider that it's array ,where we consider that
it's an string
because when i want to find the length i have big doubt
whether we need to use len function or ubound ...
ans me for this TWO Questions any one please
Answer Posted / gabbar
Dim a
a=array("CAPGEMINI" )
If len(join(a))<>len(Replace(join(a),"G","")) Then
msgbox "Occurance of G in array: "&len(join(a))-len(Replace(join(a),"G",""))
End If
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
what is the frame work in J-meter?
If u r using library files (Instead of Check Points) , How do u do bitmap check ?
When and why to use descriptive programming?
What is the difference between Keyword Driven test and Data Driven test?
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What are the data types in qtp?
How is the Bitmap checkpoint different from Image checkpoint?
write a script to validate the content in the web application. (do it by OR method) and (do it by Descriptive method by creating a description object.. (give a filter condition only WEbelement- not easy need to use some more property while giving filter condtions- use google for your help...))
What are advantages of test automation?
How to build scripts that access data from external sources?
What are the differences between table and db checkpoints?
How many types of parameters are available in quicktest professional (qtp)?
after click on compose mail how can we attached a file in qtp with vbscript code
Can you brief the hurdles you faced during Automation testing?