write string reverse prog using vb script with out using
string reverse statement();
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
1. How to capture data from images in QTP and produce them in Excel sheet
How do we edit the script in QTP. Anybody can explain in detail..Thanks in advacne...
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?
What is reusable action?
Name the different types of recording modes?
HOW TO CONVERT MANUAL TEST CASES IN TO AUTOMATION TEST SCRIPTS EXPLAIN THE PROCESS?
Is it possible for QTP to capture the objects in word document.If so please give me the code.Thank you.
How to get the column count and column name from the resultset in the database connection program?
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 test whether the navigation i.e. from one page to another is working r not using QTP for web based application
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
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