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
Dis advantages of XML checkpoint ?
How to suppress warnings from the test results page?
i am new QTP... please tell me automation frameworks , types & for whiich type of applications frameworks are used & how to generate script in keyword driven framework
What is keyword view?
What are the types of environment variables in qtp?
Consider one application is open, clicking one menu will open another application in another browser. QTP does not catch the URL of the second browser(second application). can we capture it ?
What is an optional step in qtp ?
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
What is expert view and keyword view?
what is the difference between the modular framework and datadriven frame work
This is Karthic and my mail id is karthic.venkitapathi@gmail.com, please give me an idea to crack qtp 10
Write the script to delete the mail which is at 9th,13th and 18th place in INBOX of Gmail ?
What is test object model in quicktest professional (qtp)?
can any body clearly explain about keyword driven framework .give me the explanation for files what ever you use in this frame work?
How would you export a script from one pc to another in qtp?