Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the different kinds of test steps?

1164


Why qtp always start action1 and does not start action?

1162


what are the mandatory properties for a tex boxc (scenario?)

2052


What is difference between Recording time object identification and Run time (Execution) time.

1723


can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?

2180


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)

1691


How did you use regular expressions in QTP and also in WR?

2695


how to idetfy which test cases are automated?who will deside that plz tell me

2092


what are the utilities and drivers

2425


Explain the concept of object repository and how qtp recognises objects?

1085


can anyone tell me what to say in interview when interviewer asks about "tell me about your framework in your project"?

2118


how to compare two bitmaps( 1. clients requirement & 2. Designed by dev) in qtp 8.2 wann clear steps

2159


How will you compare keyword and expert view?

990


How to replay a script in qtp?

1144


what r the main attributes of test automation?

2151