TestProject Forum
Powered by leading experts in the test automation community

How to Dynamic get the value from Web Page


While automating web application using TestProject, I came across one issue. Please see below scenario:

  1. Creating order using Test Project - working as expected
  2. Once order is created - it is showing order number with text.
    ’Your Order Number is 12345678’

Issue: I need to extract the order number and use it in further steps. But I am not able to get the value of order number as its whole element including text.

How to extract the number from the element?

Could you please check and let me know?



1 Like

Hello @preeti.prayag
You can use the remove non numeric action:

this will remove all characters who are not numbers.

1 Like

Hey thanks for quick response :slight_smile:

I will check the mentioned option.

1 Like

Thank you Ran, mentioned solution worked.

1 Like