get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / babu
The answers mentioned above will work only when we know the
format of the data entered.
But if you want to generalize the function.
We have to select each and every character from the string
and check when the character is a numberic of alphabet.
If it is numeric, then you can add it to a temporary
variable. So, we will get the value of the order number.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)
How do you configure QTP AND Test director?
In qtp, explain what is crypt object
The hybrid framework can be implemented for any application. Is it true?
How to customize qtp?
How QTP identify the system time that's changes every seconds?
How many lines of code in each script of QTP?
What is action split and the purpose of using this in qtp?
What phases are involved in testing an application in qtp?
Can any one send me the QTP Basic Coding Samples?
Explain how you can delete excel file in qtp?
What test cases can you automate using QTP?
Without using gui map editor we can recognize the application in winrunner ?
What are some test assets and related extensions of qtp?
How to attach a file to TD?