get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / friend
i think we ll get order no exactly by using regular expression
concept......
orderstring="ORD13456PNR"
set r = new regexp
r.pattern="[0-9]+"
set n=r.execute(orderstring)
for each num in n
prrint n.value
next
am i correct.....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?
How to automate a script in mainframes environment? I have the terminal emulator Add in. Describe in detail.
What do you mean by checkpoints in qtp?
How many types of object repository in qtp?
requirement is for combo box your expected value is str= "Denver.Frankfurt.London.Los Angeles.Paris.Portland.San Francisco.Seattle.Sydney.Zurich" you must get the text in combo box and need to compare them how
What are the major/ important methods, functions in QTP we use realtime testing
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
What is quicktest professional window?
How can I open a EXCEL file from QTP Resultviewer with reporter.ReportEvent function call. Example: Test files for details click "here". And clicking "Here" in the resultviewer will open a local EXCEL FILE.
What are private functions in QTP? How they can be called from the function library?
Describe function procedure in vbscript.
Can any body please tell me the steps of keyword driven frame work in qtp. My mail is saswat445@gmail.com please send some materials on keyword driven testing in qtp. thanks a lot...
What are the things(properties, and other details) will be recorded while recording an object using normal recording?
what is command for executing files?
What are the key points to create a framework in QTP for oracle forms?