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 / giriyappa badagar

ordStr="ORD13456PNR"

'we can use mid function

string=mid(ordStr,4,5)
msgbox (string)

OR

ordStr="ORD13456PNR"
msgbox right((left(ordStr,8)),5)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you check that your test cases covered all the requirements?

1008


Write a script to customize the test results in PDF and HTML format.

2506


What is the difference between keyword view and expert view?

1026


How you can replace string in qtp?

1011


What is keyword driven framework?

1034


In qtp, explain what is qrs file?

1012


How to add verification steps to tests?

9694


Explain measuring transaction.

990


what are the frame work models of qtp?which frame work you follow in your company?and explain it process?

2492


how to test load test and block box testing an a web based application pls give ans briefly

1777


What is ‘object spy’ and what is the function of object spy in qtp?

1025


What is the synchronization point in qtp?

945


Connect to QC using AOM.

1644


i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression

1407


How to use output values in qtp ?

948