Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

execute javascript return value

Hi,


   I have 2 issues.

1. I was trying to scrap data from a web page where data is not in table format. Data is in list format in multiple divs and each div container have unique set of controls. SOmehow I was'nt able to do that. SO I moved to javascript.


I created a small js script to extract data from same web page and returns JSON object. How do I convert it in datatable. as it returns system.__comobject.



Best Answer

Hi Ravi,


I would suggest ,in order to read a JSON array you 'll first have to convert it to custom object using the "Convert Json to Custom Object" Action and thereby go ahead and use the data,value pair in the form you require.


1 Comment

ADMIN
Answer

Hi Ravi,


I would suggest ,in order to read a JSON array you 'll first have to convert it to custom object using the "Convert Json to Custom Object" Action and thereby go ahead and use the data,value pair in the form you require.


Login or Signup to post a comment