how to reverse a string with out using string or predefined
function,ex:string is " i love india". the output should be
like this "i evol aidni"
Answer Posted / rupesh
Hi Karthik,
ur script will reverse the string but not the individual
words...
output of ur script will be "aindi evol i"
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
Get the count of files of similar types from a folder.
what is the diffrence bw qtp architectute and qtp framework?
Sql questions to find second max salary and how to use joins
How to find the path of folder in which the test is saved in qtp?
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
What is QTP and the use of QTP in TD?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?
How to add verification steps to tests?
What is meant by a Check Point in UFT? Also, explain the applicable Check Points.
How to capture all the data of a webtable, weblist and combolist using QTP?
how can we do the frame work in qtp
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
Where you get the run time data table?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?