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
Mention the different actions types of qtp.
If object is not recognized by qtp but the object is standard object what is your approach?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
For which type of project the iterative model is suitable?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
is there any addin for remedy user application
what is the difference between development and testing
Where is the Bitmap checkpoint information stored?
What is synchronization? What are the ways you can synchronize?
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.
how to write the descriptive programming in QTP for remove the object value and substitute, with a variable then call the validation from excel
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
I am facing an issue of object identification with the dropdown element of DHTML grid. When I tried to recognize these different dropdown objects, QTP identifies only one object for all the dropdowns. Hence, selection of different data from different dropdowns list is an issue. To overcome this problem, i have used Descriptive Programming technique by creating different object descriptions which have all the other properties same but differ only in one property i.e. ‘X’ location of the element on the screen. Hence, i have created distinct object descriptions that would allow us to select values in different dropdowns. The code is given below. But still I am unable to identify distinct dropdown objects. ‘Object Description for Dropdown Cell Status Set objCellStatus = Description.Create objCellStatus("micclass").value = "WebList" objCellStatus("name").value = "select" objCellStatus("x").value = 219 ------ ‘X’ Axis value for cell status drop down ‘Object Description for Dropdown Sub Segment Set objSubSegment = Description.Create objSubSegment("micclass").value = "WebList" objSubSegment("name").value = "select" objSubSegment("x").value = "319" ------ ‘X’ Axis value for sub segment drop down Please help... This is specific to DTML grid(Drop down object)
wht type of User defined functions or Java Releated functions do we write in VB scripting