Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What is the best way to launch the browser
#5
Not Solved
The LOC that I prefer is as below. Some benefits here are,
* with this we can open any browser,
* open the browser in maximized state, and also,
* in the first step itself we navigate to the test application directly at launch. This way we also optimize the Automation test execution by minimizing a test step to navigate to the required test application.

<Code Starts Here>

Code:
SystemUtil.Run Environment("BrowserName"),Environment("TD_URL"),Environment("BrowserLocation"),"", 3

<Code Ends Here>


Note:
There are 3 environment variables used by me in the above code.
Reply


Messages In This Thread
RE: What is the best way to launch the browser - by v.swaminathan - 12-12-2011, 12:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Cannot find the "[ WebEdit ]" object's parent "[ Browser ]" (class Browser). Verify t Divya Roopa 1 8,318 03-11-2014, 12:13 PM
Last Post: devarapallliramana
  VBS to launch QTP 9.2 and invoke script automatically test123 2 11,799 05-08-2008, 09:17 PM
Last Post: Sri

Forum Jump:


Users browsing this thread: 1 Guest(s)