Facing issue while launching browser using testcomplete - Firefox and Edge
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Facing issue while launching browser using testcomplete - Firefox and Edge
Hi Community,
Issue with Microsoft Edge:
I am using Testcomplete version: 15.44.11.7 and Edge version: 111.0.1661.44 (Official build) (64-bit)
when I am trying to launch a edge browser using below code in screenshot:
getting the issue:
An internal error occurred while running the Microsoft Edge browser.
Details: Unspecified error
Solved! Go to Solution.
- Labels:
-
Web Testing
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using TC v15.49.6.7 x64 and Edge v111.0.1661.44 (Official build) (64-bit), and it's able to launch the browser and navigate to https://smartbear.com/ without issues - using the same keyword test as you.
I suggest closing down all instances of Edge, including hidden ones (see Task Manager)
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi raghvani...thanks for responding!
I double checked in task manager but no browser instance is found
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
function Test4()
{
//Launches the specified browser and opens the specified URL in it.
Browsers.Item(btEdge).Run("https://smartbear.com/");
}
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Then that should work. However, it's worth having a look at the Version History, something may have been fixed.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Nandini,
First you need to setup the tested apps in your project.
then give the loacation of ".exe" file for tested application
later you should run the tested application and then navigate to the required browser.
Code as Follows:
function Edge_Browser()
{
TestedApps.msedge.Run();
Browsers.Item(btEdge).Navigate("https://smartbear.com/");
}
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Used the below code for edge and its working fine for edge:
br = Browsers.Item(btEdge);
br.RunOptions = "--do-not-de-elevate";
br.Run();
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have UAC enabled?
