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

What r the different filters in defect in quality center

3274


This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10

1498


How many add-ins comes by default with quicktest professional?

546


hou can we use vb script in qtp could u tell me breafly

1730


In QTP TEST DIRECTOR COMBINATION WHAT IS THE PURPOSE OF TEST DIRECTOR? In Somebody says to store test cases and design test cases.?ok fine , but In test director 5.0 , QTp not launching. what u do?

1486






is there any addin for remedy user application

1738


How do you create regression test packs?

606


What VBScript operators, functions, and statements do you use in QuickTest Professional?

2163


if anyone has idea of the interview procedure in covansys, plz send me a mail?

1519


in a web page hoe to check the dynamic links that rechabging with out using regular expressions

1769


Hi All , How can we decicde for pariticular frame(DataDriven or Keword Driven)in Project? Thanks Balaji

1368


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1383


Difference between test object and run time object?

586


what is object and child object.. explain ..if possible give some example for better understanding ..

1527


What is the file extension of the code file and object repository file in QTP?

589