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
how to test load test and block box testing an a web based application pls give ans briefly
What is QTP testing process?
What are the differences between quicktest professional and winrunner?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
Is virtual object supported in low level recording mode?
How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.
What is an expert view and keyword view?
What is the difference between QTP and WinRunner? Why do you choose only QTP for automation among remaing tools like Rational robot and silk test? Write the VBscript for any functionality in your project ? What is the cost of QTP ? If you entered into yahoo mail with your valid user name then you will get FOR EXAMPLE , " welcome to krishna " on the top of inbo page , how can you test it in QTP? What type of testing you can do, when we gave you 5 screens and how can you test that application? What type of framework you are using in your company and explain it?
What is regular expression?
terminal services client
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
what r the verstions from 1st to present (verstions) of mercury tools (like winrunner,QTP,Loadrunner) ? Chandana
How you can write contexts to text file in qtp?
What are the different types of functions available in qtp and explain ?
Which environments are supported by hp qtp?