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


Please Help Members By Posting Answers For Below Questions

What is meant by a Check Point in UFT? Also, explain the applicable Check Points.

885


how can i pass a "cript"as a parameter in to a function

1645


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3120


Without using gui map editor we can recognize the application in winrunner ?

808


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1594


What environment does qtp run in?

784


How can I change object description or check point values in qtp?

745


how did u use automating testing tools in ur job?

1666


What is checkpoints for quicktest professional?

763


What is recovery scenario manager? When you go for recovery scenario manager?

795


Where you are storing your script?

825


Explain actions in qtp ?

726


What is method name to compare two XML files.

1727


what is actually contain test report? can anybody post the test report

1687


How the exception handling can be done using quicktest professional?

745