We are building a new experience for our SmartBear Community.
This site is now read-only. You can still browse and search as usual. Learn More
This site is now read-only. You can still browse and search as usual. Learn More
In your case, you can use Set Variable Value. Pick your variable and then use Code Expression to get the string with your own InputString, StartPosition, and Length.
This should be of some help:
https://support.smartbear.com/testcomplete/docs/reference/program-objects/aqstring/substring.html
You want to start right after the first colon and take the next four characters (or whatever is appropriate) and store them in your variable.
I see, thank you. One more question:
How would you use this aqString method in a Keyword test?
Thanks,
Arlene
In your case, you can use Set Variable Value. Pick your variable and then use Code Expression to get the string with your own InputString, StartPosition, and Length.