Forum Discussion

LRuoc's avatar
LRuoc
Contributor
2 years ago

How to Edit a Set Variable Value

Hello All and thank you for any help.

 

I am scripting against a web application using Keyword Test. What the application does is create a case which results in an incident number then once we have that number I want to store it in a project variable to use it to access the case and process it further.

 

WHen the case is created, it provides me with an incident number, ie "Your incident number is INC111112" I have used a Set Variable Value to pickup this value but it collects the whole string "Your incident number is INC111112" where all I want is "INC111112".

 

Is there a way that I can collect just the INC111112? 

 

TestComplete 14.91
Windows 10
Application - Edge