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 / qtp

use instrrev or InStr and get the index position using the
search string as PNR
after that bye using the mid function we can get the order
number

var pos=instr(order string,"PNR")

string1=mid(orderstring,3,pos)

msgbox (string1)

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.

2968


What is system testing and what are the different types of tests you perform in system testing?

1166


An action has both shared and local or associated to it and both have the same object in them. In the test which one will be considered?

1125


in data driven testing for performing operations which method is easy from manual test data,keyword view,or from database.and why?

1838


How to test fly out menu in qtp?

979


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

2560


what is the difference between IE & Netscape in web testing on a log in page

2319


I am getting the "test object property" Description properties "toolkit class" value By using "gettoproperty" in run time But my problem is how to get Ordinal Identyfier's type and value Type is index, value is 0 How can i keep this values in to required place How can i get these values in runtime I have to insert these "index" and "value" into another area Is there any script for this like "gettoproperties","Getroproperties" If anybody knows,please help me .

2271


What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?

2770


Explain in brief about the quicktest professional (qtp) automation object model?

988


what is supply chain management?

2585


An object is non standard object, i mapped it to standard object, eventhogh on mapping to standard object i cannot use the methods available on the standard object with the mapped object. How i can use those standard object methods with these mapped object. (((Note : dont tell that we can use virtual object as virtual object is to map nonstandard obj to standard obj)))

2138


what is impact analysis on regression testing?

2483


If you giving priority as p0, as a developer if I give priority as p2, What happens In user defined function ?

1047


What are the types of object repository in qtp?

1039