Ask a Question

Extracting A Section of Text From a String

0 Kudos

Extracting A Section of Text From a String

Looking for a Keyword Test Solution:  Our website displays the customer's Order Number as part of a string - i.e. "Order # 52846700" 

I've watched the 'How To Get a Value From on Screen and Store it for Later Use' video - and that would be fine if the order number was displayed in the field by itself - it is not.  

RichBopp_0-1618609212667.png

Is there a way to extract just the Order Number - Either from the screen into the Variable, or from the Variable itself?

3 Comments
Marsha_R
Champion Level 3

Yes, there is already a way to do that.  If you'll go post this in the main forum, I'll show you how to do it and other people will be able to share the solution easier.  Thanks!

Marsha_R
Champion Level 3
RichBopp
Contributor

Done - Thanks!

Announcements
Welcome to the TestComplete Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Welcome to the Community
Sign Up Here