get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / phani
Dim text,num,only_text
text=inputbox("enter text")
n=len(text)
For i=1 to n
a=mid(text,i,1)
if isnumeric(a)=true then
num=num&a 'numbers are store in this
else
only_text=only_text&a 'text is stored
end if
Next
msgbox num
msgbox only_text
| Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.
How did you use regular expressions in QTP and also in WR?
Hi ,Can any one pleas explain how to test splash objects using QTP?
how to prepared for first for the first interview?
How to carry out bit map check points in QTP
Differentiate the type of test cases which can be automated and which cannot be automated?
I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance
What is the difference between qtp and selenium?
Where we can use the synchronization?
What is business process testing(bpt) in qtp?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
For which type of project the iterative model is suitable?
What are the different types of recording modes?
What is the difference between byref and byval in qtp?
What is an expert view and keyword view?