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 quick test pro? What is a quick test professional?
Can anyone tell me how i used QTP 9.2 use for GIS based S/w with an example?
Explain the new feature of UFT regarding the export of test results?
Explain how Does Run time data (Parameterization) is handled in QTP?
What is the use of text output value in quicktest professional (qtp)?
How to find operating system information using the qtp script?
Hi, I am using OutputCheckPoint and I am storing the value in the data table. The stored value for column:bedroom:"Bed:4" The another value for column:bathroom:"Bath:2 Full,1 Partial" I need only the no 4 from the first column. I need only the no 2,1 from the second column. I used split array,but it also show array(0) has the value"bed:4" ..... Even though I highlight only 4,It is seleting the full value "bed 4".How can I get only the nos Thank you Uma
What is the syntax to call one script from another?
What is recovery scenario manager? When you go for recovery scenario manager?
banking domain description for software tester for interview
Discuss quicktest professional environment?
What are the automation metrice in your project?
how interviews will be on QTP?
How to use reporter.report event in qtp ?
Hi, i run scripts in one machine those r passed.when i run the scripts in client side those r failed.Give me such a scenario when ever u faced?