Ask a Question

Having issues while fetching the data from console

SOLVED
Ravikaanth
Contributor

Having issues while fetching the data from console

I updated to the latest TestComplete version, 15.58.9.7 x64, and have been experiencing issues while trying to fetch the object from the console. Please review the code snippet below, which is used to fetch the objects. It was working fine before the latest update, but now it returns a value of 'undefined.' Could you please suggest any ideas for what might be causing these issues?


var pageObj = Sys.Browser().Page("*");
var productID = pageObj.contentDocument.Script.eval("app.variableMap.productId");

 

The screenshot below displays the data I am attempting to retrieve using the code above,

Ravikaanth_0-1700384175239.png

 

3 REPLIES 3
rraghvani
Champion Level 3

I suggest you revert back to the previous version of TC, that was working for you.

 

A number of people have already reported the latest version having issues.

Ravikaanth
Contributor

@rraghvani Could you please help to revert back to previous version 15.57? Please suggest a procedure to revert back. If I try to download it is downloading the latest version. Can't able to download the specified version.

rraghvani
Champion Level 3
cancel
Showing results for 
Search instead for 
Did you mean: