Highlighted
Valued Contributor.
Valued Contributor.
569 views

Catch ID on URL

HI all,

Here is my test steps for application

1- Log in wih one user ( just says userA)

2- User A will create a Form and then click Save

Requiment: Run this scenario with many user concurrence.

Problem:

One User when click button create from will have a unique id in URL (picture below)

image.png

In recored scripts it will specific one id in web_url (picture below)

image.png

 

So how can do to this solution? 

0 Likes
6 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Hi
This is exactly what correlations are for.
See this link for further information.
https://lrhelp.saas.hpe.com/en/12.53/help/WebHelp/Content/VuGen/c_correlation_overview.htm?Highlight=Correlations
Good luck
Lior
0 Likes
Highlighted
Valued Contributor.
Valued Contributor.

Hi AvniLior,

Thanks for your reply, I know that I should use correlation here but I dont know how to capture it .

Thanks

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Hi

After you replay the script, go to the snapshot view, replay section.

find the value to be correlated, mark it, right click and choose correlate selection.

Once that is done - replay the script again.

for more details on manual correlations, see here and here

Thanks,

Lior

0 Likes
Highlighted
Valued Contributor.
Valued Contributor.

Hi all,

I just found that there is response from server "

{"IsSuccessful":true,"Messages":"Bảng phân tích tài chính đã lưu được lưu thành công.","jsonReturn":"?fna=738&"}'

 

and I want to get the value "738" from that, can you help me how to get and save that value to parameter ?

0 Likes
Highlighted
Valued Contributor.
Valued Contributor.

Hi,

 

Can somebody help me about this ?

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

HI

mark the part you want to convert. right click and choose "replace with paramter".

more on parameters can be found here

Thanks,

Lior

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.