Forum Discussion
Thanks for reply but it didn't work too.
I am using Run correctly as i am putting url inside parenthesis like below.
Browsers.Item(btIExplorer).Run("https://abcd.com")
Could you post your full code that contains that line? The error message you posted earlier indicates that the error is happening on line 2, column 1 of your unit. I'm assuming that line of code is that line in the error, but it might be useful to see the fuller context.
Couple of really quick questions... I know they are probably obvious but...
1) The machine you are running this on, is it licensed with the Web module of test complete? The Browers object is part of that module so, if you aren't licensed, this whole thing may be a matter of VBScript reporting that the Browsers object is an unknown object.
2) After you click OK on the error dialog that pops up, I'm assuming Testcomplete stops running the test. Is there any additional information in the test log to give information as to what's going on?
3) You mentioned that it works fine with IE9. Do you happen to have multiple versions of IE installed on your machine? If so, have you tried passing to the Items method the version number you want to run (second parameter)?
Related Content
Recent Discussions
- 2 days agovladd1