get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456
Answer Posted / giriyappa badagar
ordStr="ORD13456PNR"
'we can use mid function
string=mid(ordStr,4,5)
msgbox (string)
OR
ordStr="ORD13456PNR"
msgbox right((left(ordStr,8)),5)
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How will you check that your test cases covered all the requirements?
Write a script to customize the test results in PDF and HTML format.
What is the difference between keyword view and expert view?
How you can replace string in qtp?
What is keyword driven framework?
In qtp, explain what is qrs file?
How to add verification steps to tests?
Explain measuring transaction.
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
how to test load test and block box testing an a web based application pls give ans briefly
What is ‘object spy’ and what is the function of object spy in qtp?
What is the synchronization point in qtp?
Connect to QC using AOM.
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
How to use output values in qtp ?