write the code to reverse a string without using Strrev
built in function.
Answer Posted / ram
x="abcdefg"
v= len(x)
For i=1 to len(x)
newstr=mid(x, v,1)
a=a&newstr
v=v-1
Next
msgbox a
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What are the different types of recording modes?
how to evalute defects in QTP script?
Does quicktest professional (qtp) is unicode compatible?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
How did you resolve conflicts present in Object Repository?
Is it possible to call win runner script in qtp?
Hi Guys, I want to place all of my values which i am getting it from a loop in to a global shee. For that i had written the script like this For i = 1 to ECOs-1 ECO = List(i).GetROProperty("innertext") DataTable.AddSheet("ECOList") DataTable.GetSheet("ECOList").AddParameter "ECOList",ECO AbortECO = DataTable.GetSheet("ECOList").GetParameter ("ECOList").Value msgbox AbortECO DataTable.GetSheet("ECOList").SetNextRow Using the above script, whenever the loop iterates it is creating new column "ECOLIST" in the sheet called "ECOLIST". It means, the values are displaying in the column wise even though i added the script " DataTable.GetSheet("ECOList").SetNextRow" . The cursor is not moving to the next line. Anybody help me out how to pass the values from script to the excel(Global/Local) sheet. Pls let me know @ nbabu11@gmail.com if you are not clear about the question.
How to use debug tools?
What is throw Object?
Hi All, we are using QTP Automation Scripts to test SAP. I recorded QTP Automation Scripts in English-based SAP GUI. Now we have to test a French-based SAP sytem and use the same scripts. The QTP scripts are failing when executed on the French-based SAP System due to Object Recognition Issues. What can we do? Do I re-record the scripts in the French-based SAP system?
Get the count of files of similar types from a folder.
Explain different type of event trigger option.
how will you check how many members visited the website www.infosys.com?
Mention the different actions types of qtp.
Is it possible to use two instances of UFT on the same machine? If not why?