Object required: 'Browsers'
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2012
07:40 PM
06-13-2012
07:40 PM
Object required: 'Browsers'
hi,
am unable to run this line. i am getting browser object required error. can any one help?
Ex: Browsers.Item("iexplorer").Run "http://smartbear.com/products"
am unable to run this line. i am getting browser object required error. can any one help?
Ex: Browsers.Item("iexplorer").Run "http://smartbear.com/products"
8 REPLIES 8
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2012
08:50 PM
06-13-2012
08:50 PM
Hi Pasumarthi,
There is an unnecessary letter ("r") at the end of the browser name. Try using the following code:
Browsers.Item("iexplore").Run "http://smartbear.com/products"
Does it work?
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012
06:27 PM
06-14-2012
06:27 PM
hi Lukina,
though i am writing the below line still am getting the same error. Any other idea is there?
Browsers.Item("iexplore").Run "http://smartbear.com/products"
though i am writing the below line still am getting the same error. Any other idea is there?
Browsers.Item("iexplore").Run "http://smartbear.com/products"
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2012
08:16 PM
06-14-2012
08:16 PM
Hi,
Please clarify a few things:
1. Which version of TestComplete are you using?
The fact is that the described approach was introduced in TestComplete 9 and doesn't work in TestComplete's previous versions.
2. Which edition of TestComplete are you using (Enterprise or Standard)?
Thanks.
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2012
01:43 PM
06-15-2012
01:43 PM
hi,
Thanks for the information. actually we are using test complete 8.0 version.
Thanks for the information. actually we are using test complete 8.0 version.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2012
06:14 PM
06-17-2012
06:14 PM
Hi Pasumarthi,
In TestComplete 8.0, use the following approach:
Sys.Process("iexplore").ToURL "http://smartbear.com/products"
Does it work?
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2012
05:26 PM
06-20-2012
05:26 PM
hi Lukina,
Sys.Process("iexplore").ToURL "http://smartbear.com/products" is also not working.... is there any idea.. ?
i am trying sys.process("iexplore",2).page("http://.....") but it is also not working...
Thanks
Jagadeesh
Sys.Process("iexplore").ToURL "http://smartbear.com/products" is also not working.... is there any idea.. ?
i am trying sys.process("iexplore",2).page("http://.....") but it is also not working...
Thanks
Jagadeesh
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2012
06:31 PM
06-20-2012
06:31 PM
hi lukina,
if the browser is already opened then it is working fine, but till now am asking how to launch browse through test complete.
Call TestedApps.iexplore.Run(1, True) is working fine for launching application.
any way thank you so much for suggesting me how to enter URL in Address bar.
Thanks
Jagadeesh
if the browser is already opened then it is working fine, but till now am asking how to launch browse through test complete.
Call TestedApps.iexplore.Run(1, True) is working fine for launching application.
any way thank you so much for suggesting me how to enter URL in Address bar.
Thanks
Jagadeesh
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2012
11:30 PM
06-20-2012
11:30 PM
Hi,
if the browser is already opened then it is working fine
You are absolutely right. This method lets you navigate the running instance of Internet Explorer to the specified web page. If you need to launch the browser automatically, add it to the Tested Applications collection and then use the code from your previous post.
I’m not a member of the SmartBear Support Team, I’m just helping users in this community. Any views or opinions expressed do not necessarily represent those of SmartBear Software.
