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 / udayakiran
This might be the solution If we consider it as array:
ar2 = Array("C","A","P","G","E","M","I","N","I")
arlen=UBound(ar2)-lbound(ar2)+1 'Finding array length
For p= 0 to arlen-1
If strcomp(ar2(p),"G")=0 Then
msgbox "The letter G is found"
Exit For
End If
Next
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is the difference between per-action and shared?
Explain the features of quick test pro(qtp)?
How to customize checkpoints with parameters?
Which advantages helping QTP to hold the position of "Market Leader" for such a long period?
wht is Manual Testing Frame work. Pls anybody can give appropriate answers
What is system testing and what are the different types of tests you perform in system testing?
What is the use of running the scripts in Hidden-mode in UFT?
How to handle dynamic objects in quicktest professional (qtp)?
Can we Test Welcome Screens and Process Images with QTP
Where we use data driver in qtp?
How to capture all the data of a webtable, weblist and combolist using QTP?
can u explain the keyword driven framework with an example clearly how to create all the files and how to attach to main test.
I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2
banking project description for software tester
Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.