Please, excuse us for the delayed response.
As far as I understand the application under test has popups with partially dynamic URLs and you need to decide how to data drive these. In case I have misread your query, please do not hesitate to elaborate further on the topic.
However, if I am correct, you will need to consider how that parameter "5795" gets available - is it generated during the test run, or it is predefined and know before the test starts. In the second situation, my suggestion is to prepare the data source with the predefined value and pass it to the 'Connect to popup' step
On the other hand, if that parameter gets generated during the test run, you should go for a coded approach to build the desired URL. Here are some details for this option:
1. You can create a step to extract the generated value
, which will be needed for the URL.
2. You can then use the extracted variable in code
in order to build the new URL.
3. In a coded step
you can use the extracted value to modify the URL (you can use the standard string handling methods in C#
I hope this information will be helpful for you. Of course, if you have further questions or doubts, please do not hesitate to get back to us.
Thanks for your cooperation.