write string reverse prog using vb script with out using
string reverse statement();

Answers were Sorted based on User's Feedback



write string reverse prog using vb script with out using string reverse statement();..

Answer / uday

str="uday"
msgbox strreverse(str) 'just for info sake.

'this is the script
For i=len(str) to 1 step -1
resultchar=mid(str,i,1)
result=result+resultchar
Next
msgbox result

Is This Answer Correct ?    5 Yes 1 No

write string reverse prog using vb script with out using string reverse statement();..

Answer / ankarao

str="Ankarao"
l=len(str)
for i=n to 1 step-1
res=mid(str,i,1)
rev=rev+res
next
msgbox rev

Is This Answer Correct ?    2 Yes 0 No

write string reverse prog using vb script with out using string reverse statement();..

Answer / jagadish

str = "jagguvamsee"
n=len(str)
for i = 1 to n
a = mid(str,i.1)&a
msgbox a
next

Is This Answer Correct ?    0 Yes 0 No

write string reverse prog using vb script with out using string reverse statement();..

Answer / lak

str ="Lakshmi"
For i=1 to len(str)
strrev = mid(str,i,1)&strrev
Next
msgbox strrev

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More QTP Interview Questions

1.what is the difference between childobjects and child items in qtp? 2.what is difference between a class and function? 3.can u convert ustimings to indian timings using vbscript? 4.i have scripts in one machine.can i run those scripts in another machine.how?

2 Answers   Genpact, Infosys, Symantic Space, TCS,


During execution, how can we capture the data from the pop- up, ie. when any popup comes with some numbers written on it, then how can we capture the value/number that is coming on the pop-up and save in the dynamic file/or other file, even when the run is going on.

2 Answers   Wipro,


What exactly is the difference among all the three recording modes.

5 Answers   Accenture,


Can any one say what exact diff between test->parameters, action properties-> parameters. after defining the parameters in test->settings, how can we access those parameters.(i know how to use action prop parameters)

0 Answers  


Print the Prime numbers in below format only up to 20(Need commas also) 1,2,3,5,7,9,11,13,17,19

0 Answers   Value Labs,






hi, can u tell me the QTP TEsting process in present real time companies?(beware of this... now a days Recording is not using,, only DP) and don't tell note book answers like step 1 spep2....like this .......post answer with professional skills in simple english words) thank u

0 Answers  


Some time when i wanna learn the object i face issue like i am not able learn the object in proper manner... eg:for text bo on web page it should learn as webedit but some times it reads as winobject:internetexpoler-server, because of this i have to uninstall the qtp and re-install it again when i do this it reads the object perfectly.....plz suggest the soln

0 Answers  


what is the Command used to start the QTp from Run.(start-> Run)

7 Answers   GE,


Wt is the difference between Business Component and scripted component?

1 Answers   BSL,


what are the metrics in general we use in testing.

6 Answers   TCS,


if devloper change only button names in present build then script will execute or not , why? Only gui changed.......

2 Answers   Cap Gemini,


Have you used xml check point in your project?

0 Answers  


Categories