I want to get some values about stock at NSEINDIA.com by using screen scraping activity. And want to write this data in temp. data table by using ADD DATA ROW activity. Then what should be the variable type of the output of screen scrapping activity ?
Welcome to the community !!
The variable type of Screen scrapping will be Generic Value
Regards
Sudharsan
You can also try with Get Text Activity store the result in the Datatype as → String
Have a look on the documentation
Regards
Gokul
This is the default variable that is being automatically generated
You can also change the type to string or pass the new string variable in the output field of Get Visible text or Get full text activity
Regards
Sudharsan
but with this variable type i am unable to use add data row activity. it shows error
its not work
Share the XAML File if possible.
Need to convert the format
Span.Tostring
Convert.ToInt32(“IntegerVariable”)
Convert.ToDouble(“DoubleVariable”)
Convert.ToDecimal(“DecimalVariable”)
Regards
Gokul
Use the variable like this
ScreenScrappingvariable.ToString
So the datatable was built by you with build datatable, right?
Use Cdbl(PRE_CLOSE) or Cint(PRE_CLOSE)
Or change the type as string in your build datatable
Regards
Sudharsan
For the column PRE_CLOSE
and follow the same method for all the columns if it throws error
Regards
Sudharsan
thank you sir
By mistake in build data table variable type is wrongly choose by me as INT 32 and thats why error is coming , actually i am new in RPA.
Thanks for your support
If your query is resolved kindly mark the appropriate post as solution and close the topic so that it will be helpful to others too!
Happy Automation!
Regards
Sudharsan
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.