get the order no from the following orderdetails
orderstring="ORD13456PNR"
eg:13456

Answer Posted / nihar ranjan

orderstring="ORD13456PNR"

'we can use mid function

string1=mid(orderstring,4,5)
msgbox (string1)

'It will work definitely.......

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how qtp identifies objects?

568


how to know no.of mails in our g mail by using vb-script

1779


What are test settings and global settings?

579


How to delete an object from the object repository?

595


when I was doing the web testing with QTP using with standard checkpoint the Object selection -checkpoint properties dialog box not displaying pages and links hierarchical order. Could you please tell me. thanks

1736






Problem with XML checkpoint in QTP ?

3505


Hi Friends, Im planning to do certifcation in mercury Automation Tool QTP.But I Didnt get any clear details regarding course syllabus, fees, where to approach, and which certification would be useful for the experienced testers? can any one send me the details?

1518


How many types of recording modes in the qtp?

593


Explain sub procedure of vbscript.

590


What are the differences between table and db checkpoints?

535


What is checkpoint in qtp?

552


What is the use of ordinal identifier in qtp?

608


What is the default object synchronization timeout in qtp?

646


how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)

1433


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?

1747