Parallel Test Execution: (Fast Test2018) – Setting up a browser stack test

OK so let’s get started. So with any of these cloud services they both
offer free trials. So if you’re not a member of browser stack
already you can go ahead and register for free trial. Just go to browser site dot com you’ll see
this button in the top and you can just click free trial. I’m obviously already registered so therefore
I’m not going to need a free trial. But you can sign up. I’m just going to go ahead and sign in and
then I’m actually going to come over here to my just’s which I actually posted up for
you guys just get how and then slash my account which is NADECO. And I’ll actually put up these notes for these
lectures as well. I’m going to come over here and just copy
this just because I wrote it previously going to copy that in here and then I’m going to
go into my Visual Studio. I’m going to open up my solution explorer
and I’m actually going to create a new project to just so that you guys can see everything
just done in order again just so that you don’t forget. I’m going to come over here. New project again. We’re going to create a class library. Let’s name it. Parallel testing browsers. Thank God that. What do we need next guys. Well we need then you get packages of course. So let’s quickly go ahead and do that. Actually in the show you guys a cool trick
that you can use for sharper. So I’m gone come over here. Over that. OK. So with my Reshad per all turns her and lock
I can use this to find this namespace and you get that Torg is going to find and unit
and my selenium bindings and I can download it from here. Install installation finished let me get my
open keyway bindings again find this a name space and you get look at FOUND IT. I’m going to install the support classes and
then is going to install the open curiousest millennium as well. Fantastic. Check it out in like what was that three four
clicks. I was able to install my new packages and
basically fix all of the errors here. How awesome is that. The only other thing left is that obviously
the name space doesn’t match up to this so let me add to that change this namespace up
here. That’s good. And then let me rename this Clydes browser
stack. First one do rename refactoring using RE sharper
and let me make sure that the file name has been updated. Awesome. So now I got my file name matching my class
name here in the test we got everything set up and I actually copied this code from browsers
that they have this entire thing. This snippet at the ready for you here. Let me show you where to get that. So you can actually get that once you’re logged
in to browsers can and you get your free account all set up. You can go to docs and then I want Doxey Schar
and then I came in to here this portion. And so now here it has a bunch of code that
tells you how to do things how to configure capabilities. And so what happens is you end up with this
kind of test.

Leave a Reply

Your email address will not be published. Required fields are marked *