Forum Discussion
kjadhavkunal
9 years agoContributor
I upgraded to latest version (i.e. 12.10.602.7 ).
I found 3 new isseus as below,
- I deleted browser cache, history and everything. Then I tried to execute the same it is still showing same kind of error with ‘IExplorer’. If I write the same code for Chrome browser it is working as expected(Closes existing browser and opens new). Also I am not able to use run methods(Run/Navigate etc.) for Chrome browser. It is saying unable to navigate null ‘url’, though I am passing it in the method itself.
- I am able to achieve ‘Closing of Browser(if already open) and launching a new browser’ with below code. [Fails if no browser is open.] In the example This line is not getting executed until we run it in debug mode-> “ Browsers.Item("iexplore").Run();” [Whenever 2nd mentioned scripts in debug mode(i.e. step by step execution using ‘F10’ key) It works well with both the situations opened browser and closed browser.]
- Also able to achieve ‘Launching a new window(if browser is closed)’ with below code [Fails if browser is already open.]
Attached are the screenshots for more understanding.