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 know no.of mails in our g mail by using vb-script
Where we use data driver in qtp?
Explain the concept of object repository and how qtp recognises objects?
wht type of User defined functions or Java Releated functions Do we write in VB scripting
Is QTP Supports SWT applications? If yes, can you write a sample script for opening a new package in eclipse.
Explain the check points in quicktest professional (qtp)?
To which environments does quicktest professional supports?
How to find the path of folder in which the test is saved in qtp?
1.How to record ,capture and also script to capture the close buttons. 2.How to record ,capture and also script to capture the options ---File ->save and File ->close in a browser and PDF files. 3.How to compare the Excel sheet values in a report using QTP scripting. 4.How to compare 2 PDf reports using QTP scripts as well reording. 5.How to compare 2 Excel reports using QTP scripts as well reording. 6.How to save a PDF report to a folder and then translate the report to an Excel type of report and compare that Excel Report with an other excel report. Please clarify me
Can we run multiple QTP scripts one after the other without manual intervention? How?
how to find that tools work well with ur existing system?
Can anybody post some real time scenario in qtp? please its very urgent.
Hi, While recording a Jave based web application, its recording all my actions and the objects.And I have 5 WebEdit objects on the page and all are recorded. But while execution, at the 2 WebEdit object, its entering the value into the object (Its making a call to the AJAX, matching the value), when the control get out of this object the value is erased or cleared. Could anyone please help. I have recoreded 5 more scenarios where WebEdit is in the picture on different webpages and all are working fine. Here is my Script: Browser("Sign In").Page("Matching Workbench_3").WebEdit ("locationLookup").Set "0320 - SEATTLE-KM" Browser("Sign In").Page("Matching Workbench_3").WebEdit ("supplierNameLookup").Set "TRAMMO PETROLEUM INC" *** SupplierNameLookup is the object, which is haing an issue. And also I was using the SendString function, but it didnt work.
What is expert view and keyword view?
Explain more about the Test Fusion Report of QTP?