I want to launch a web-browser from python script test with a particular URL and then perform the authentication with username and password. Can anyone help to execute this task?
I tried using Browsers.Item[btChrome].Run() but encountered with an error saying that "unable to use browser object. The web testing plugin that implements the object code is not installed."
Then you can not use Browsers method to trigger browser.
any other solution to use this?
or any other way in python scripting to launch the browser and authenticate the screen?
response = requests.get(url, auth=(username, password))
Here, I am able to open the web browser but unable to authenticate the browser popup screen.
In order to test Web applications and verify/validate components and such within Web applications, you need the Web license. TestComplete requires such in order to identify the components. TestComplete is NOT a generic Python IDE so, while you can import modules and such, the identification of on screen objects still requires the use of TestComplete's engines which requires the proper license to be able to work.
Please contact your sales representative or customer success manager for information on obtaining the proper license.