hai friend's ..
my question is
a[0]=I
a[1]=N
a[2]=D LIKE IT GO'S
i need output INDIA ,using simple string how will u do?
can any one tell really need full..
Answers were Sorted based on User's Feedback
Answer / karthick
good ans ..same time instead of using
msgbox a(0)&a(1)&a(2)&a(3)&a(4)
why can't we use join function...i mean like this..
Dim myres,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"
myres=join(a)
msgbox myres
| Is This Answer Correct ? | 20 Yes | 1 No |
Answer / manjunathareddy
Dim a(4)
a(0)="I"
a(1)="n"
a(2)="d"
a(3)="i"
a(4)="a"
Msgbox a(0)&a(1)&a(2)&a(3)&a(4)
| Is This Answer Correct ? | 8 Yes | 2 No |
Answer / kishan
dim arr(4)
arr(0)="I"
arr(1)="N"
arr(2)="D"
arr(3)="I"
arr(4)="A"
msgbox join(arr)
(or)
str=""
for i=0 to ubound(arr)
str=str&arr(i)
next
msgbox str
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / sunita
dim str1,a(4)
a(0)="I"
a(1)="N"
a(2)="D"
a(3)="I"
a(4)="A"
for i=0 to ubound(a)
str1=str1+a(i)
next
msgbox str1
May be this is another way out.....correct me if i m wrong.
| Is This Answer Correct ? | 1 Yes | 0 No |
What are the Application Functions available in QTP?
I am Using QTP 9.1 version. I have created a Shared Object Repository. The size of Shared Object REpository is 9 MB. In my system i am able to execute the script very flexibly and it is very fast. But if i copy the same code into other system with the same configuration, it is executing very slowly(i.e dam slow). It is not happening in all machines it is in only some machines. Can please any one give th esolution. It is high priority to me as i need to give demo to client on their machines.
How did u write macros?What is the main importance of VB macros in testing environment?
Hi Friends, while playing the recorded test i am getting this error "Cannot identify the object "q" (of class WebEdit). Verify that this object's properties match an object currently displayed in your application." error is coming in this line of code "Line (2): "Browser("Google").Page("Google").WebEdit("q").Set "airtel broadband"". " .... please tell me how to overcome this problem. need help asap... Thanx in advance
how to test one edit box using dotnet addin for Web Applications? write script?
Hi every body, I am new to QTP.pls help me if anybody knows the solution. Here is my doubt: I have 3 excel sheets in my local drive out of which one is password protected and i want to get the data of all these xL's either by importing or by reading the data finally i have to update this data in the website.(and the site is secured site) I tried by importing all XL"s one by one but couldn't do so. plss send me the code or atleast suggest me the approach. Thanks in Advance Padmaja
How to catch the TOol Tip Dyanamically changing values using the qtp script by Descriptive Programming Scenario: ======== 1. when i press the submit button 2. The Tool tip first shows the value "Validating...." 3. Next the value is changed in tooltip "Logging....." ------ And the class is webElement SO , how can i catch both values During Run time using Dp
How to create basic scripts from a manual test case in QTP?
can somebody send the script to write a multiplication table in notepad through qtp
we r conduction testing on a project USING QTP, regarding that project the object repository is full ? Till that project having objects that r not recognised by repository, then what wil you do? How we wil recogine remailning objects? Is it possible to maintain another shared(or)peraction repository? what is the maximum capcity of object repository? How the technical people decide this much object repository is enoughf for this project?
For Passing Parameters from one Action to another Action we will use Input & Output parameters. Can any one tell how to use this Input & Output parameters with Example ?
i need the word "good morning" to be displayed by default whenver we click upon the blank test while opening the qtp. Could you please answer...