seleniumworks.blogspot.com
Seleniumworks: Xpath | Selenium Uses - Part II
http://seleniumworks.blogspot.com/2014/03/xpath-selenium-uses-part-ii.html
Monday, 31 March 2014. Xpath Selenium Uses - Part II. Can be edited or mentioned important for the entire blog. All the posts are practically done by me. Lets you navigate and provide direction within the tree representation of the XML document. The location path can be either. 1 Absolute location path. 2 Relative location path. Does not starts with (/). Here, each and every step consists of. 3 zero or predicates. Attribute returns all the attributes in the current node. Preceding-sibling is a reverse of...
seleniumworks.blogspot.com
Seleniumworks: Page Object Pattern | Selenium - Part II
http://seleniumworks.blogspot.com/2014/03/page-object-pattern-selenium-part-ii.html
Friday, 21 March 2014. Page Object Pattern Selenium - Part II. Can be edited or mentioned important for the entire blog. All the posts are practically done by me. PageFactory is used to support PageObject pattern with a Factory class inside the WebDriver's support library. NullPointerExceptions will be thrown if you are not using PageFactory. In PageFactory, by default you don't need to specify the Locator type for Name. Instead initialize the weblements using the below simple format. Here, 'q' is an id.
seleniumworks.blogspot.com
Seleniumworks: Handle Download popup using Firefox Browser Profile
http://seleniumworks.blogspot.com/2014/04/handle-download-popup-using-firefox.html
Monday, 7 April 2014. Handle Download popup using Firefox Browser Profile. Can be edited or mentioned important for the entire blog. All the posts are practically done by me. Firefox Browser Profile [Download Files]. This is the continuation of my previous topics, #link1. The simplest way to ignore Browser pop-up and save files is to make use of Browser profiles; There are couple of ways to do this [can be done either manually or using scripts]. Advantages of using Browser Profile. String path = ". Profi...
seleniumworks.blogspot.com
Seleniumworks: Selenium Data-driven Text file | @DataProvider
http://seleniumworks.blogspot.com/2014/05/selenium-data-driven-text-file.html
Wednesday, 7 May 2014. Selenium Data-driven Text file @DataProvider. Can be edited or mentioned important for the entire blog. All the posts are practically done by me. This is the continuation of one my previous topics, #link. In this method, we are using @dataProvider annotation on TestNG to fetch keywords from a Text file and passing the arguments to Test class. This is our (Prashanth Sams Karthikeyan) implementation to work with Text file via dataprovider. Import java.util.HashMap;. Driver.findEl...
wisedeveloper.blogspot.com
Inheritance in Java | Wise Developer
http://wisedeveloper.blogspot.com/2012/03/inheritance-in-java.html
In this Tutorial you’l learn about inheritance in Java. Java Inheritance defines an is-a relationship between a superclass and its subclasses. This means that an object of a subclass can be used wherever an object of the superclass can be used. Class Inheritance in java. Mechanism is used to build new classes from existing classes. The inheritance relationship is transitive: if class x extends class y, then a class z, which extends class x, will also inherit from class y. 160; double width;. Depth of M...
wisedeveloper.blogspot.com
Declaring and Initializing 2-dimensional arrays Java Program | Wise Developer
http://wisedeveloper.blogspot.com/2012/03/declaring-and-initializing-2.html
Declaring and Initializing 2-dimensional arrays Java Program. Declaring and Initializing 2-dimensional arrays Java Program. 160; public static void main(String args[]). 160; {. 160; / this declares a 2-dimensional array named x[i][j] of size 4 (4 elements). 160; / its elements are x[0][0], x[0][1], x[1][0] and x[1][1]. 160; / the first index i indicates the row and the second index indicates the. 160; / column if you think of this array as a matrix. 160; }. I have read your ...
wisedeveloper.blogspot.com
Advantages/Disadvantages of Struts 2 Framework | Wise Developer
http://wisedeveloper.blogspot.com/2011/12/advantages-of-struts-2-framework.html
Advantages/Disadvantages of Struts 2 Framework. Advantages/Disadvantages of Struts 2 Framework. Struts 2 is a Framework which is an implementation of MVC-2 at server side. Struts 2 have many advantages over the standard servlet and JSP API alone. But struts 2 is complex so Struts2. Have many disadvantages too. Signature can be used as an Struts 2 Action object. Struts 2 framework instantiated Action object for each request, so there are no thread-safety issues. Struts 2 can use "Object Graph Navigation.
wisedeveloper.blogspot.com
Struts2 Action Classes | Wise Developer
http://wisedeveloper.blogspot.com/2011/12/struts2-action-classes.html
Every operation that an application can perform is referred to as an action. Displaying a Login form, for example, is an action. So is saving a product's details. Creating actions is the most important task in Struts application development. Some actions are as simple as forwarding to a JSP. Others perform logic that needs to be written in action classes. An action class is an ordinary Java class. It may have properties and methods and must comply with these rules. Action class may have login. 8226; Sinc...
wisedeveloper.blogspot.com
this and super keywords in Java | Wise Developer
http://wisedeveloper.blogspot.com/2012/03/this-and-super-keywords-in-java.html
This and super keywords in Java. This and super keywords in Java. The two keywords, this and super to help you explicitly name the field or method that you want. Using this and super you have full control on whether to call a method or field present in the same class or to call from the immediate superclass. This keyword is used as a reference to the current object which is an instance of the current class. 160; int i = 0;. 160; Counter increment() {. 160; i ;. 160; }. 160; }. December 20, ...
wisedeveloper.blogspot.com
Benefits of Struts 2 Farmework | Wise Developer
http://wisedeveloper.blogspot.com/2011/12/benefits-of-struts-2-farmework.html
Benefits of Struts 2 Farmework. Benefits of Struts 2 Farmework. Struts is an MVC framework that employs a filter dispatcher as the controller. When writing a Model 2 application, it is your responsibility to provide a controller as well as write action classes. Your controller must be able to do these:. 1 Determine from the URI what action to invoke. 2 Instantiate the action class. 3 If an action object exists, populate the action's properties with request parameters. 5 Forward the request to a view (JSP).