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
What is the difference between the keyword view and expert view?
What is the registration process and examination fees?
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
How you can decide which type of object repository you have to use?
can u explain relative path architecture framework in qtp?
What is the difference between a Function and Procedure in QTP?
What is the use of ordinal identifier in qtp?
How you calling actions in qtp?
How does qtp identify objects in the application?
could any help me please, how to work on visual foxpro application using UFT
I need to obtain the parent of an object programatically, so if I have: winButton("aButton") I need to obtain the parent part: window("Window1").Dialog("Dialog1") so I can programatically create a string of the full name of the object to call it with an execute statement in QTP I would like to use something like: part[1] = "window(""Window1"")" part[2] = "dialog(""Dialog1"")" so I can do: exeLine = part[1]&"."&part[2]&"."&"winButton(""aButton"")" Execute exeLine Apart from keeping a record of the window/dialog hierarchy is there a parent or path function/ command Thanks Adrian
What is standalone database?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
Hi, How Accessibility checkpoint in QTP can be implemented in the test script?
What is checkpoint in qtp?