In my previous post we learnt about nested classes. So, now this is the time to make use of that in our framework. This is how we should always progress, learn about something and then implement it otherwise there is no use of learning new things. So, let's now create a test where we can use nested class. About test In this test we will try to perform below steps: Navigate to login page Login to application Navigate to Posts->All Posts menu Confirm that we are on "All Posts" page We are already familiar with step 1 and 2. So, we will be only focusing on steps 3 and 4. From above code snippet you can see that I have used nested class created in previous post i.e. " LeftNavigation.Posts.AllPosts.Select(browser) ;" As mentioned in previous post, this code will make user navigate to Posts->All Posts page and actual code which makes this happen is in " Select(browser) " method. See that we are passing browser instance as parame...
Learning selenium with ease