Ask a Question

Unable to navigate to URL from TestExecute

SaraJens
Occasional Contributor

Unable to navigate to URL from TestExecute

Integrated AzureDevOps and Testcomplete and created pipeline.

TestExecute sits on remote desktop.

While starting execution - getting error message like Info: Cannot find the Page node after calling the NavigateTo method.

URL navigation is not happening in remote desktop. same working as expected in local.

Can someone please suggest how to proceed further.

17 REPLIES 17
rraghvani
Trusted Contributor

Does your project work fine, locally?

 

If you were to launch TestExecute and run the project, does it work?

SaraJens
Occasional Contributor

Yes, project works fine locally.

rraghvani
Trusted Contributor

And,

 

If you were to launch TestExecute and run the project, does it work?

automation_ph
Occasional Contributor

@SaraJens Any more clues you can get on the test reports (attached on the pipelines) ?

 

My guesses:

1. An unexpected screen was encountered after it launches the browser with a clear cache (ex. splash screens, pop ups).

2. The page took longer time to load, as compared to your local runs. 


Possible solutions:

For 1, you might need to add additional steps to handle those objects

For 2, you might add or improve your step to wait for the page load

SaraJens
Occasional Contributor

Yeah project works fine from TestExecute (remote desktop). Facing issue when kicked off from pipeline.

SaraJens
Occasional Contributor

I tried adding wait already and no response.

URL: https://www.google.com
Process ID: 6528
Process Command Line: "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"  --disable-hang-monitor --remote-debugging-port=9222
Info: Cannot find the Page node after calling the NavigateTo method.
Check whether TestComplete Chrome Extension is installed and enabled.
Aliases.browser

I checked chrome extension and it is installed.

rraghvani
Trusted Contributor

That's fine, just wanted to know if it was an issue with TestComplete/TestExecute or the project.

 

What command are you using to launch TestExecute in Azure DevOps? Also, on your remote desktop machine, is there an active session i.e. is a user logged onto the machine?

 

Have you seen and followed, Integration With Azure DevOps and Team Foundation Server via TestComplete Test Adapter

 

 

 

 

SaraJens
Occasional Contributor

Agent is vsts interactive , so that I create pipeline and then testcase will start.

Yeah I followed the above url , I integrated using GIT and code sync is successful.

rraghvani
Trusted Contributor

Can you check, if this is enabled? If yes, can you disable it please, and then try to run your automation again

rraghvani_0-1678875659792.png

chrome://settings/accessibility, disable Live Caption

cancel
Showing results for 
Search instead for 
Did you mean: