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 syntax to call one action in another?
Explain measuring transaction.
Hi Every body please explain me in steps to use checkpoints and object Repositories in QTP for Flight Reservation application please tell me the steps for this its urgent pls thanx for urs answers
Explain the concept of object repository?
What is the meaning Work bench?
What are the automation metrice in your project?
What is keyword view in qtp?
In Remote acess server how u run a test?
What are the different types of action?
Step 3&4 are repeated until an the object in recognised uniquely.
Can any body please tell me the steps of keyword driven framework of QTP.
Hi frnds, does anybody know if there is anything called "thin point" or something in qtp? thanks in advance.
Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.
What is the pros and cons between QTP and Rational Robot
How to find array size in qtp?