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. How to capture data from images in QTP and produce them in Excel sheet

1 Answers   Broadridge,


How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...

3 Answers   IBM,


I have written some scripts in QTP by using older version, but I want to run them in latest version. Is there any process to do that.If so can anyone explain me?

1 Answers  


What is reusable action?

0 Answers  


Name the different types of recording modes?

0 Answers  


HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?

0 Answers   ADP,


Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.

2 Answers  


How to get the column count and column name from the resultset in the database connection program?

5 Answers   TCS,


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.

0 Answers   Mindlance,


How to test whether the navigation i.e. from one page to another is working r not using QTP for web based application

1 Answers  


Lets say,flipkart website...in search button we have entered category[i.e watches] it displays some items...question is how to test price displayed each product is correct or not through qtp

1 Answers   Cap Gemini,


Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya

1 Answers   Apex,


Categories