I have a string "Redfort is in Delhi" how do u write
vbscript for " Delhi in is Redfort"
Answer Posted / ashish wadhwa
A="Redfort is in Delhi"
b=Split(A, " ")
For i=0 to UBound(b)
result=result&" "&b(UBound(b)-i)
Next
result=Trim(result)
Try this it will work
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how to disable the pop ups through QTP using a script
What does mean by Scope of Automation?n How we defined it?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
Where to use Property Let, Property Get, Property Set in UFT
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
How to suppress warnings from the test results page?
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
what is run action?
How do you configure QTP AND Test director?
how to do the batch testing in test director using manual testing procedure?
Did QTP prove efficient for your project? Yes or No, explain?
Explain advantages and disadvantages of ddf?
What are the steps involved in the recovery scenario wizard?
Hi, I am using 2 excel sheet.First excel sheet works fine with the script, if it opens the 2nd excel sheet,it works fine,but after finish all the rows it is giving the following error in the following line. InValid Procedure call or argument Line (178): "Browser("name:="&result,"application version:=internet explorer 7").Page ("title:=bgt.*", "index:=0").WebList ("name:=SearchType","html id:=Select1","location:=0").Select SearchType1". I have seen a web article says that,If we use any vbscript friendly name it may gives the above error-Invalid procedure call or argument not sure,Am I using any VBScript frienlyName? in the above line? [but the same line is perfecly working for first Excel ] It is little urgent. Any Help Thanks you
How to create scenario selector