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
Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.
WHAT IS THE DIFFERENCE BETWEEN QTP SCRIPT AND VB SCRIPT? HOW MUCH PERCENTAGE WE USE IN QTP SCRIPT REAL TIME AND HOW MUCH PERCEN OF VB SCRIPT,,,,,,,
why you have standardized functions? plzzz guys with real time exp. do answer
in my application,validation message has in japanise language.how to validate this message is appears properly or not
How to save your test using quicktest professional (qtp)?
write the vb script for call to new action in qtp?
Explain in brief about the quicktest professional automation object model?
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..
Explain the check points in quicktest professional (qtp)?
How many types of status are there?
You will receive the mail in your outlook from client at night time to go ahead for the execution. Based on the mail you need to trigger the batch run. What is the QTP Code for this?
write script for bitmap image?
Is it possible to change the values of analog recording?
Hi, Hope you viewers are doing fine with good health. What are the steps and connection parameters to connect to Oracle db ? Can you connect with just the Oracle client or Oracle XE ? Cheers!!
Hi All, I Want To excute scripts batch without using QC .I need code for that Thanks Balaji