coded ui test cross browser feature acquisition...1. visit online vs gallery search for “selenium...

16
Coded UI Test Cross Browser feature Acquisition

Upload: others

Post on 29-Mar-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Coded UI Test Cross Browser feature Acquisition

Page 2: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Component 1: Coded UI Test Cross Browser Plugin 1. The plugin will be downloaded as part of the VS Update 2. User does not have to follow any extra steps for this

Component 2: Selenium components An utility installer that downloads the following from Selenium website to an appropriate folder on customer machine 1. Selenium .Net bindings 2. Selenium ChromeDriver The installer will be available online through VS Gallery

2 components required for enabling Cross Browser feature

Page 3: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Install Visual Studio QU1 Coded UI Test Cross Browser Plugin will be installed along with it

Page 4: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Option 1: Discover from error message after test failure Start writing cross browser tests without Selenium components Run the test Error message displays a FwLink Copy the FwLink Open a browser and launch the URL Run the installer Option 2: Discover from online VS Gallery 1. Visit online VS Gallery Search for “Selenium components for Coded UI

Cross Browser Testing Click on Option 3: Discover from Visual Studio Extensions 1. Open Visual Studio Tools Extensions and Updates Online Visual

Studio Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Download

3 options for Selenium components acquisition

Page 5: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

If previous steps were missed, user gets an error on “Playback engine could not find Selenium binaries on your system”

User copies the error from Test Explorer to Notepad and copies the URL http://go.microsoft.com/fwlink/?LinkID=267598

P.S.: This was supposed to be displayed as a link and we have filed a bug on Test automation

Option 1: Discover from error message after test failure

Page 6: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Copy and Launch the link on IE: http://go.microsoft.com/fwlink/?LinkID=267598 Click on Run

Page 7: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Click on Next

Page 8: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

You can view the Selenium license terms here

Page 9: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Click on Install In case you do not want the installer to add a firewall exception for Selenium

chromedriver.exe, you can opt out by unchecking the option

Page 10: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

The Install is in Progress

Page 11: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

A firewall exception has been added for ChromeDriver_CUIT

Page 12: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Click on Finish

Page 13: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

In case of Connection error or any interruption, users will see this dialog and an HTML page with manual download details will automatically popup

Page 14: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

This is the HTML Page that pops up in case there is an install failure The page contains manual instructions for download of Selenium components

Page 16: Coded UI Test Cross Browser feature Acquisition...1. Visit online VS Gallery Search for “Selenium components for Coded UI Cross Browser Testing Click on Option 3: Discover from Visual

Selenium components for Cross Browser Testing Downloads the Selenium components required for cross

browser testing using Coded UI Tests

Shubhra Maji MSFT

Option 3: Discover from Visual Studio Extensions