Showing posts with label vs. Show all posts
Showing posts with label vs. Show all posts

Friday, 15 July 2016

XPath vs. CSS Selectors

XPath vs. CSS Selectors

IE tests runs 2-3 times slower than the same tests on Firefox.

Reason is that, Internet Explorer has a very slow XPath engine.

To fix this issue, it's recommended that ids or CSS Selectors be used whenever trying to locate elements.

For more information on CSS Selectors and Selenium:

To test CSS Selectors:



Will Add more details soon.

Monday, 6 June 2016

Is Protractor is better than selenium?

If you ever tested your application using something like Selenium you know that can be very difficult to test your web application that way because the asynchronous nature of the Web, that can change their HTML DOM. 
Angular E2E testing try to reduce some of these problems.
Here, we come with Protractor.
This post tries to help set up the Protractor testing tool in WebStorm IDE.
Protractor is an end-to-end test framework for AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
The WebStorm IDE is a powerful tool for complex client-side development and server-side development with Node.js.
The testability is a really really cool piece of functionality that Angular provides. It was develpoed around the idea that testing is so important that it should be built into the framework.
To create your Integration testing  you need to use the advantages of the internals in Angular to make lot easier the integration testing in your AngularJS application.