Forum Discussion
SagarShroff
Occasional Contributor
Hi Alex,
Excuse me for not being clear in post description.
Regular expression works fine when specified in data selectors directly. But if a variable containing the expression is specified then the expression fails to extract the value from the response.
I think LoadComplete treats @variable also as regular expression string and does not evaluate the variable.
Regards,
Shroff.
AlexeyKryuchkov
9 years agoSmartBear Alumni (Retired)
Hi,
Try defining an appropriate auto-correlation rule instead - in the "Find names and extra attributes" section, it is possible to define a regular expression for finding names or extra attributes. Then, it will be possible to reuse found values for building regular expressions for data selectors.
Related Content
- 8 years ago
- 3 years ago
- 3 years ago
Recent Discussions
- 3 years ago
- 3 years ago
- 4 years ago