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
What is the meaning Work bench?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
How can you handle exceptions in qtp?
hi i have completed my b.tech in cse stream. now i am working in an organisation in testing department. i want do sap course but i dnt know which module will boost my career can anyone suggest me which is good for my career
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to check feasibility of the appliction?in automation testing?
What does it mean when a check point is in red color? What do you do?
What is a data driven test in qtp?
What are the different properties of an web object
What is the syntax for how to call one script from another?
can any one please tell me which is the best institute in Bangalore to learn QA (crash course)? Thanks
How to get the format of a webedit class in qtp. How can i know that particular webedit accept what type of format like "mm/dd/yyyy" or "$" or Alphanumeric
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...