Unanswered question

How To Capture Dynamic ID which is created through Java Script

Please read below scenario.

User Login -> Created a New Project -> A Project is Created and Project ID is generated in the sequential Order -> Open This Created Project ID and View Details.

Here the problem is the Project ID is that is not capturing from Response Data. So How To Find the Project ID and Open it.

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points

Answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

If your project ID is used after its creation then the server did send it in one way or another. 

Did you use the flags feature to search on the server responses for that projectID?

Here is a link from the NeoLoad documentation regarding the flags feature.

Since NeoLoad stores the server responses based on their content type, if you cannot find the projectID on the server responses, maybe NeoLoad did not store the server response where that ID should appear.

In that case, if you run a user validation you should be able to find it.

 

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points

Hello Nouredine A,

Flag is not working, when I Search/Flog the Project ID, it is not displaying in any Response previous pages. The Project Id is generating through JS Script in from the .aspx page.

Is there any way we can get this ?

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

I do not think that this ID is created by the client. It is probably by the server and so it is sent to the client in any way.

Have you tried to run a user validation? the script will probably fail until you have to use the new project ID but you should be able to find the new project ID in the prevous server responses.