Created
December 12, 2016 16:52
-
-
Save rajsaggi/3f2be16a03f75be830e4212f2bceccac to your computer and use it in GitHub Desktop.
Attach to IE browser not spawned by selenium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I wanted to automate the LoadRunner scripting as the workflows are large and needs changes with every build, my plan is to launch the IE brouswer using vugen and then start a selenium script for the same workflow and attach the webdriver with the running browser of vugen. This will help me record the flow in LoadRunner. I see a post that this is possible with Selenium2 but so far i could not able to do so, I tried with | |
CODE: | |
for (String handle : driver.getWindowHandles()) { | |
driver.switchTo().window(handle); | |
} | |
but this is returning the connection key of the browser launched by WebDriver and not the browser which is already opened by LoadRunner. | |
Any help on this will be highly appreciated. Thanks.Rajarshee |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment