Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Web Browser action error for internal company website
Topic Summary: Web page you requested could not be loaded. Please make sure the page you are requesting is available
Created On: 02/22/2018 12:50 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 02/22/2018 12:50 AM
User is offline View Users Profile Print this message

Author Icon
SonyMathew
Student (5-19 posts)

Posts: 12
Joined: 04/24/2016

Hi,


I am trying to load a website get the following error. "Web page you requested could not be loaded. Please make sure the page you are requesting is available." After about 5 seconds the website loads but the step already issued an error and stops. I have tried to Skip to next step and wait 10 seconds but i get the error the BrowserSession2 does not exist



I am using web browser action for external website it is working fine eg www.google.com
But when i try to use this action with my internal company website i am getting error as "Web page you requested could not be loaded. Please make sure the page you are requesting is available."


Below is the task i am using to run the job

<AMVARIABLE NAME="Var_url">www.google.com
www.khaleejtimes.com
www.XXXXXXXX.com</AMVARIABLE>
<AMVARIABLE NAME="Var_output" VALUE="" />
<AMLOOP ACTIVITY="list" LIST="%Var_url%" DELIMITER="new_line" RESULTVARIABLE="Var_output">
<AMSHOWDIALOG WINDOWTITLE="Browser Window Properties">%Var_output%</AMSHOWDIALOG>
<AMBROWSER URL="%Var_output%" SESSION="BrowserSession2" RESULTDATASET="DS" />
<AMSHOWDIALOG WINDOWTITLE="Browser Window Properties">%Var_output%</AMSHOWDIALOG>
<AMBROWSER ACTIVITY="close" SESSION="BrowserSession2" />
</AMLOOP>


The www.XXXXXXXX.com is my internal company url.



Below is the error logs while running the task.

[Main](Step 0) Task Started.
[Main](Step 1) Starting activity "Variable: Create"...
[Main](Step 1) Creating a variable "Var_url".....
[Main](Step 1) Completed activity "Variable: Create".
[Main](Step 2) Starting activity "Variable: Create"...
[Main](Step 2) Creating a variable "Var_output".....
[Main](Step 2) Completed activity "Variable: Create".
[Main](Step 3) Starting activity "Loop: List"...
[Main](Step 3) Starting loop...
[Main](Step 3) Updating variable "Var_output"...
[Main](Step 3) Completed activity "Loop: List".
[Main](Step 4) Starting activity "Dialog: Message"...
[Main](Step 4) Displaying message "www.google.com"...
[Main](Step 4) Completed activity "Dialog: Message".
[Main](Step 5) Starting activity "Web Browser: Open Browser"...
[Main](Step 5) Opening "http://www.google.com" using Internet Explorer...
[Main](Step 5) Waiting for the browser to become ready...
[Main](Step 5) Completed activity "Web Browser: Open Browser".
[Main](Step 6) Starting activity "Dialog: Message"...
[Main](Step 6) Displaying message "www.google.com"...
[Main](Step 6) Completed activity "Dialog: Message".
[Main](Step 7) Starting activity "Web Browser: Close Browser"...
[Main](Step 7) Closing browser...
[Main](Step 7) Completed activity "Web Browser: Close Browser".
[Main](Step 8) Starting activity "Loop: End Loop"...
[Main](Step 8) Completed activity "Loop: End Loop".
[Main](Step 3) Starting activity "Loop: List"...
[Main](Step 3) Updating variable "Var_output"...
[Main](Step 3) Completed activity "Loop: List".
[Main](Step 4) Starting activity "Dialog: Message"...
[Main](Step 4) Displaying message "www.khaleejtimes.com"...
[Main](Step 4) Completed activity "Dialog: Message".
[Main](Step 5) Starting activity "Web Browser: Open Browser"...
[Main](Step 5) Opening "http://www.khaleejtimes.com" using Internet Explorer...
[Main](Step 5) Waiting for the browser to become ready...
[Main](Step 5) Completed activity "Web Browser: Open Browser".
[Main](Step 6) Starting activity "Dialog: Message"...
[Main](Step 6) Displaying message "www.khaleejtimes.com"...
[Main](Step 6) Completed activity "Dialog: Message".
[Main](Step 7) Starting activity "Web Browser: Close Browser"...
[Main](Step 7) Closing browser...
[Main](Step 7) Completed activity "Web Browser: Close Browser".
[Main](Step 8) Starting activity "Loop: End Loop"...
[Main](Step 8) Completed activity "Loop: End Loop".
[Main](Step 3) Starting activity "Loop: List"...
[Main](Step 3) Updating variable "Var_output"...
[Main](Step 3) Completed activity "Loop: List".
[Main](Step 4) Starting activity "Dialog: Message"...
[Main](Step 4) Displaying message "xxxxxxx.com"...
[Main](Step 4) Completed activity "Dialog: Message".
[Main](Step 5) Starting activity "Web Browser: Open Browser"...
[Main](Step 5) Opening "http://xxxxxxx.com" using Internet Explorer...
[Main](Step 5) Waiting for the browser to become ready...
[Main](Step 5) Web page you requested could not be loaded. Please make sure the page you are requesting is available.
[Main](Step 5) Task Ended.

 Category Survey
AutoMate BPA Server 10 version: 10.5.0
Windows version: Windows Server 2008 R2


-------------------------




Regards,
Sony Mathew

Edited: 02/22/2018 at 02:47 AM by SonyMathew
 02/26/2018 03:50 PM
User is offline View Users Profile Print this message

Author Icon
Devin Cannon
HelpSystems

Posts: 398
Joined: 03/17/2016

Hi Sony,

Does this happen every time the page is loaded? If it's not every time, you could try having the step retry on failure. Otherwise a workaround may be to use the "Create session" web browser action after the "Open Web Browser" action fails in order to create the session. I included a few changed in the code below.

 Category Survey



Task Steps: (Right click, Select All, Copy to copy to the clipboard. Steps can then be pasted into the AutoMate Task Builder)


-------------------------

Devin Cannon | Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700 | F: +1.213.738.7665
 02/26/2018 09:28 PM
User is offline View Users Profile Print this message

Author Icon
SonyMathew
Student (5-19 posts)

Posts: 12
Joined: 04/24/2016

With this task step when my internal url run it opens the window and it failed with error (Step 9) Browser window not found.

On (step 6) it is not able to create the BrowserSession2 and due to retry option it opens 3 window and continue to next step and get failed at (Step 9).

The internal website loads but the (step 6) is not able to create the session, and all my internal url is facing the same issue .


Pls find the out put of task

[Url_HelpSystem](Step 0) Task Started.
[Url_HelpSystem](Step 1) Starting activity "Variable: Create"...
[Url_HelpSystem](Step 1) Creating a variable "Var_url".....
[Url_HelpSystem](Step 1) Completed activity "Variable: Create".
[Url_HelpSystem](Step 2) Starting activity "Variable: Create"...
[Url_HelpSystem](Step 2) Creating a variable "Var_output".....
[Url_HelpSystem](Step 2) Completed activity "Variable: Create".
[Url_HelpSystem](Step 3) Starting activity "Variable: Create"...
[Url_HelpSystem](Step 3) Creating a variable "Var_websiterror".....
[Url_HelpSystem](Step 3) Completed activity "Variable: Create".
[Url_HelpSystem](Step 4) Starting activity "Loop: List"...
[Url_HelpSystem](Step 4) Starting loop...
[Url_HelpSystem](Step 4) Updating variable "Var_output"...
[Url_HelpSystem](Step 4) Completed activity "Loop: List".
[Url_HelpSystem](Step 5) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 5) Displaying message "www.google.com "...
[Url_HelpSystem](Step 5) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 6) Starting activity "Web Browser: Open Browser"...
[Url_HelpSystem](Step 6) Opening "http://www.google.com " using Internet Explorer...
[Url_HelpSystem](Step 6) Waiting for the browser to become ready...
[Url_HelpSystem](Step 6) Completed activity "Web Browser: Open Browser".
[Url_HelpSystem](Step 7) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 7) Displaying message "www.google.com "...
[Url_HelpSystem](Step 7) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 8) Starting activity "If: Condition"...
[Url_HelpSystem](Step 8) Completed activity "If: Condition".
[Url_HelpSystem](Step 11) Starting activity "If: End If"...
[Url_HelpSystem](Step 11) Completed activity "If: End If".
[Url_HelpSystem](Step 12) Starting activity "Web Browser: Close Browser"...
[Url_HelpSystem](Step 12) Closing browser...
[Url_HelpSystem](Step 12) Completed activity "Web Browser: Close Browser".
[Url_HelpSystem](Step 13) Starting activity "Loop: End Loop"...
[Url_HelpSystem](Step 13) Completed activity "Loop: End Loop".
[Url_HelpSystem](Step 4) Starting activity "Loop: List"...
[Url_HelpSystem](Step 4) Updating variable "Var_output"...
[Url_HelpSystem](Step 4) Completed activity "Loop: List".
[Url_HelpSystem](Step 5) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 5) Displaying message "www.khaleejtimes.com "...
[Url_HelpSystem](Step 5) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 6) Starting activity "Web Browser: Open Browser"...
[Url_HelpSystem](Step 6) Opening "http://www.khaleejtimes.com " using Internet Explorer...
[Url_HelpSystem](Step 6) Waiting for the browser to become ready...
[Url_HelpSystem](Step 6) Completed activity "Web Browser: Open Browser".
[Url_HelpSystem](Step 7) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 7) Displaying message "www.khaleejtimes.com "...
[Url_HelpSystem](Step 7) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 8) Starting activity "If: Condition"...
[Url_HelpSystem](Step 8) Completed activity "If: Condition".
[Url_HelpSystem](Step 11) Starting activity "If: End If"...
[Url_HelpSystem](Step 11) Completed activity "If: End If".
[Url_HelpSystem](Step 12) Starting activity "Web Browser: Close Browser"...
[Url_HelpSystem](Step 12) Closing browser...
[Url_HelpSystem](Step 12) Completed activity "Web Browser: Close Browser".
[Url_HelpSystem](Step 13) Starting activity "Loop: End Loop"...
[Url_HelpSystem](Step 13) Completed activity "Loop: End Loop".
[Url_HelpSystem](Step 4) Starting activity "Loop: List"...
[Url_HelpSystem](Step 4) Updating variable "Var_output"...
[Url_HelpSystem](Step 4) Completed activity "Loop: List".
[Url_HelpSystem](Step 5) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 5) Displaying message "www.abc.com"...
[Url_HelpSystem](Step 5) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 6) Starting activity "Web Browser: Open Browser"...
[Url_HelpSystem](Step 6) Opening "http://www.abc.com" using Internet Explorer...
[Url_HelpSystem](Step 6) Waiting for the browser to become ready...
[Url_HelpSystem](Step 6) Web page you requested could not be loaded. Please make sure the page you are requesting is available.
[Url_HelpSystem](Step 7) Starting activity "Dialog: Message"...
[Url_HelpSystem](Step 7) Displaying message "www.abc.com"...
[Url_HelpSystem](Step 7) Completed activity "Dialog: Message".
[Url_HelpSystem](Step 8) Starting activity "If: Condition"...
[Url_HelpSystem](Step 8) Completed activity "If: Condition".
[Url_HelpSystem](Step 9) Starting activity "Web Browser: Create Session"...
[Url_HelpSystem](Step 9) Browser window not found.
[Url_HelpSystem](Step 9) Task Ended.

 Category Survey
AutoMate BPA Server 10 version: 10.5.0
Windows version: Windows Server 2008 R2


-------------------------




Regards,
Sony Mathew

Edited: 02/27/2018 at 04:13 AM by SonyMathew
 02/28/2018 11:05 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hello,

Would it be possible to set-up a GoToAssist session where we can take a closer look at this issue? If this is possible please send an email over to AutoMate.Support@helpsystems.com with a list of your availability.

Note: Please reference this forum thread in your email.

 Category Survey
AutoMate BPA Server 10 version:
Windows version:


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
 02/28/2018 11:15 PM
User is offline View Users Profile Print this message

Author Icon
SonyMathew
Student (5-19 posts)

Posts: 12
Joined: 04/24/2016

Hi Ricardo,

I have send email to "Support@helpsystems.com" to set-up a GoToAssist session.

 Category Survey
AutoMate BPA Server 10 version: 10.5.0
Windows version: Windows Server 2008 R2


-------------------------




Regards,
Sony Mathew
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 565 guests browsing this forum, which makes a total of 565 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2019 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog