get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / babu
The answers mentioned above will work only when we know the
format of the data entered.
But if you want to generalize the function.
We have to select each and every character from the string
and check when the character is a numberic of alphabet.
If it is numeric, then you can add it to a temporary
variable. So, we will get the value of the order number.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What are the different kinds of test steps?
Why qtp always start action1 and does not start action?
what are the mandatory properties for a tex boxc (scenario?)
What is difference between Recording time object identification and Run time (Execution) time.
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
How did you use regular expressions in QTP and also in WR?
how to idetfy which test cases are automated?who will deside that plz tell me
what are the utilities and drivers
Explain the concept of object repository and how qtp recognises objects?
can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?
how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps
How will you compare keyword and expert view?
How to replay a script in qtp?
what r the main attributes of test automation?