![]() |
| |||||||
Automation Anywhere Post messages and questions related to Automation Software here. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
|
To set the scene, first of all I consider myself fairly experienced with Automation Anywhere and web development in general. On my current task the 'Extract Source' is not working- when I create the step, enter the URL and click 'Launch' the page loads fine, but the capture button is disabled and the source that it displays in the value box is not the complete source- it ends prematurely. But when I actually run the task AA is unable to actually load the page- it navigates to 'http:///' , so i experimented with making it load the page first using 'Open Browser' with the exact same url. The open browser steps works perfectly and loads the page correctly, now this time the extract source doesn't navigate to 'http:///' it just fails to extract the source- resulting in nothing captured. I use extract source all the time and it always works every time, except for on this site. I believe that it may be 1 of the 2 things causing the issue, although I may very well be wrong... The first reason which I think is most likely is because of an extremely long 'viewstate' value in the source - it is extremely long, many many thousands of characters in a single unbroken line. Which I think may be 'upsetting' AA causing it to misperform. Subsequently AA is not saving the page source to the variable that I need it saved to. Which leads me to my second possible reason which i think is less likely (because the extract source is not by itself even navigating to the page)- which is that the maximum length allowed for any variable is actually quite limited, so this page's source is unable to be saved to the variable. Anyway if the AA team or anyone else could shed some light on this and help me resolve this issue it would be much appreciated. Please see the attached example task which demonstrates the problem. Extract_Source-FAILS-example.atmn Kind Regards, H |
| |||
|
Hello, We could reproduce the issue with this particular website and we have forwarded it to the development team for considering such scenario in future release. However, to get around the issue we can use Keystrokes, Alt+v followed by character c (View->Source) to open the source file and then copy-paste the entire data with keystrokes Ctrl+a followed by Ctrl+c and get the source code in $Clipboard$ variable. We have amended your sample for your convenience. Please copy it under location, 'C:\...\My Documents\Automation Anywhere\Automation Anywhere\My Tasks' folder. Please let us know how it goes. |
| |||
|
Thank You for such a fast reply including a functional solution! I'm often amazed when contemplating just how many ways there are to go about getting things done! Inspirational... Anyway, enough of my ramblings. Thank You! And please keep me posted about the development of an underlying solution. At the very least it will be interesting to find out if my proposed theories about the issue are anywhere near the reality of the situation! Kind Regards, H |
![]() |
| Thread Tools | |
| Display Modes | |
| |