running test against localhost

Kiran Nandedkar's Avatar

Kiran Nandedkar

08 Aug, 2018 10:30 AM

Hi Team,
       Is it possible i can run selenium test against localhost when code is building on appveyor?

  1. Support Staff 1 Posted by Owen McDonnell on 08 Aug, 2018 11:12 PM

    Owen McDonnell's Avatar

    Yes. Pre-installed browser drivers listed here

  2. 2 Posted by Kiran nandedkar on 09 Aug, 2018 06:26 AM

    Kiran nandedkar's Avatar

    ?

    Kiran Nandedkar
    Proteria AS

    Phone: 96748510
    www.proteria.com
    ________________________________
    From: Owen McDonnell <[email blocked]>
    Sent: 09 August 2018 01:12
    To: Kiran nandedkar
    Subject: Re: running test against localhost [Questions #23992]

    Did you even understood the question? When we run code from visual studio then browser run against localhost url. What i want to acheive is when developer checks in the code then i will run selenium tests against localhost just like i do on my local machine when i run code from visual studio.

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Aug, 2018 06:37 AM

    Feodor Fitsner's Avatar

    Adding to Owen's answer.

    There is IIS pre-installed on build VMs: https://www.appveyor.com/docs/services-databases/#internet-informat...

    You may deploy the app to that IIS with any suitable method (xcopy, WebDeploy) or even use built-in "Local" deployment provider: https://www.appveyor.com/docs/deployment/local/

  4. Ilya Finkelshteyn closed this discussion on 09 Oct, 2018 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac