Question

5
Replies
1777
Views
NagaP504 Member since 2016 20 posts
Tata Consultancy Services
Posted: November 13, 2017
Last activity: November 6, 2018
Closed
Solved

get InnerHtml / Any property of HTML ID to Output using InvokeScript

Hi Community,

I'm trying to get Text value of label (which will be created dynamically) through JavaScript by using Script method.

I'm able to test it and run through "Execute Script" which doesn't provide result.

Can you let me know how to get it through "Invoke Script". [I got error while trying to use this Invoke script for same script]

Error : Unknown name. (Exception from HRESULT: 0x80020006 (DISP_E_UNKNOWNNAME))

Sample Script : return "document.getElementById('"+HtmlId+"')";

Thanks In advance.

Robotic Process Automation
Moderation Team has archived post
Share this page LinkedIn