Sunday, September 27, 2015

Installation of Hudson on Windows

Hudson is a Continuous Integration [CI] Tool [Open Source] written in "JAVA", which runs in a Servlet container, such as "Apache Tomcat" etc Application Server

Steps to Install Hudson on Windows:
*************************************
Pre-Requisite: Java [JD+JRE] must be installed and running in the system without any error

[Step.1]: Download Hudson from the below resource:



[Step.2]: Place downloaded Hudson [.war] file to local drive [e.g. C:\hudson]:


[Step.3]: Open a new Command [cmd] prompt : Navigate to C:\hudson folder as shown below:
Please Type:  java -jar hudson-3.3.0.war and Hit Enter 


Result: Wait till the process completes...



Note: Minimize the above running hudson server [cmd prompt]

[Step.4]:  Open Browser and type :  http://localhost:8080/

Result: The below Screen is displayed 


[Step.5]: Click on "Save" button from the above Screen or Page
Result: Wait till the process completes as loading below: 



Result: Hudson installed and running successfully :)

Thanks Much,
** Bin **        

Sunday, July 12, 2015

Recording and Playing First Test Case using Selenium IDE (FireFox)

Steps to Record Actions using Selenium IDE (FireFox):
******************************************************
Step.1:
- Open FireFox Browser
- Click on "Tool" from Firefox Menu
- Click on Selenium IDE



Result: The below Selenium IDE window will get opened
Note: The mentioned Selenium IDE window facing front of Existing FireFox Browser


Step.2: Click on "Format" - Verify "HTML" selected by default as shown below in the screenshot


Verify: The Record button is started by default as highlighted below in the screenshot


Step.3: Recording the Steps (say First Test Case):
-  Let the above Selenium IDE started
-  Navigate the Cursor to the FireFox window opened behind the Seleium IDE
-  Type "www.Google.com" in the above browser
-  Hit Enter
-  Wait for Google Home gets loaded
-  Type "Selenium" in the search box
-   Hit Enter
-   Click on the link showing "Selenium.org" in the listed search results
-   Verify Selenium Home Page opened
-   Navigate to Selenium IDE window
-   Click on button to stop the recording


Step.4: Click on Play button to play the recorded steps:


Result: The entire steps mentioned above will get play via Selenium IDE automatically without any manual interruption

Step.5: We can save the steps as single Test Case (html) format in order to play via Selenium IDE


So we can record, play, save and play back  by opening the same saved the test cases using Selenium IDE easily :)


Thanks Much,
*** Bin ***

Setting up TestNG with Eclipse

Steps to Set Up TestNG with Eclipse :

************************************
Pre-requisites: Get Ready Eclipse after Downloading from Eclipse Home URL (Preferably Kepler) :

Step.1: Click to open Eclipse:


Step.2: Click on "Help" from Eclipse Menu and then Click on "Install New Software":


Result: The below window will get opened:


Step.3: Type the home URL to download TestNG in Eclipse:

Note:
For Eclipse 3.4 and above, enter location as "http://beust.com/eclipse"
For Eclipse 3.3 and below, enter location as "http://beust.com/eclipse1"

Add Name: TestNG and Location as "http://beust.com/eclipse" :

 

Result: Wait for TestNG to  load
Step.4: Select the TestNG check box and Click on "Next" button as shown below:


Step.5: Click on  "Next" button from below window:


Step.6: Select the "Accept" button and click on "Finish" button:


Result: Wait for Downloading gets complete:


Step.7: Click to restart Eclipse:


Result: Wait for Eclipse to Restart

Now verify TestNG gets added successfully into our Eclipse:

Click on "File" -> Click to "Other"


Now Click on "TestNG" Class:



Now TestNG has been installed successfully on the System.

Thanks Much,
** Bin **  

Monday, June 29, 2015

Installation of Selenium IDE on FireFox

Steps to Install Selenium IDE on FireFox:
*****************************************
Step.1: Open FireFox Browser

Step.2: Type the below Selenium Home URL to get latest version of Selenium IDE
          http://www.seleniumhq.org/

Result: The below Home Page will get displayed:



Step.3: Click on "Download" tab as highlighted below:




Step.4: Scroll down mouse to navigate to "Selenium IDE" section : Click on Latest Version displayed for Selenium IDE as shown below:


Step.5: Click on "Allow" button for the pop-up message displayed as shown below:



Result: Wait till it gets downloaded Completely



Step.6: Click on "Install Now" button once its enable as shown below:



Step.7: Click on "Restart Now" button displayed in the pop-up window as shown below :



Result: Wait for FireFox gets restarted

Step.8: Click on "Tools" from FireFox menu - Verify Selenium IDE displayed in the list of options under "Tools"

And Click on "Selenium IDE" displayed in the list of options under "Tools" as shown below:



Result: The below Selenium IDE pop-up window will get displayed with further available options to enhance testing using IDE:




Step.9: Click on "Format" from Selenium IDE Menu:



Step.10: Click on "Options" button : Check the check box for "Enable engineering features" option highlight as below and click on "OK" button



Step.11: Click on "Options" from Selenium IDE Menu -Click on "Format":




Result: 
1. The supported list of languages displayed as shown above
2. "HTML" is selected by default (Recording Mode)

Now, Selenium IDE is ready for Recording and Playing and many more :)


Thanks Much,
** Bin **  

SAP-SD : Most Common T-Codes and Tables

Most Common T-Codes:
************************

CUSTOMER
T-Code
Description
XD01
Create New Customer
XD02
Change Existing Customer
XD03
Display Existing Customer
XD05
Block Existing Customer
FD32
Credit Management Change for Individual Customer


SALES ORDER
T-Code
Description
VA01
Create Sales Order
VA02
Change in Existing Sales Order
VA03
Display Existing Sales Order
VKM1
List of blocked SD documents


SALES CONTRACT
T-Code
Description
VA41
Create Sales Contract
VA42
Change Existing Sales Contract
VA43
Display Existing Sales Contract


BILLING DOCUMENT
T-Code
Description
VF01
Create Individual Billing Document
VF02
Change Individual Existing Billing Document
VF03
Display Individual Existing Billing Document
VF04
Run Billing Due List
VF05
List Existing Billing Documents
VF06
Background Processing – Billing
VF11
Cancel Billing Document


INVOICE
T-Code
Description
FBL5N
Display Invoices of Customer
FBL1N
Display invoices of Vendor


PAYMENT
T-Code
Description
F110
Run Automatic Payment


Dunning
F150
Run Dunning

Most Common Tables:
**********************

SALES ORDER
Table: VBAK, VBAP, VBEP, VBKD, VBPA, VBUK, VBUP

BILLING DOCUMENT
Table: VBRK, VBRP

CREDIT MEMO REQUEST
Table: VBAK, VBAP, VBEP, VBKD, VBPA, VBUK, VBUP

DEBIT MEMO REQUEST
Table: VBAK, VBAP, VBEP, VBKD, VBPA, VBUK, VBUP

CUSTOMER
Table: KNA1,KNB1,KNB4,KNB5,KNBK,KNKA,KNKK,KNVV,KNVI,KNVP,KNVD,KNVS,KLPA


Thanks Much,
** Bin **

Friday, April 10, 2015

Installation of Xebium on Windows

Xebium is a package of both Selenium IDE (Ease of Regression Testing) and FitNesse (ease of Maintenance Acceptance Testing) which enhances us to Automate Web Testing.

Steps to Install Xebium on Windows:
*************************************
Pre-Requisite: Java and Maven must be installed and running in the system without any error

Step.1: Download Xebium from the below resource:
http://xebia.github.io/Xebium/



Step.2: Extract the downloaded Xebium zip file to local drive (e.g. C:/):


Optional Step: We can rename the Xebium Downloaded Folder as per our area of Interest



Files inside the above extracted Xebium Folder:


Step.3: Open a new command (cmd) prompt : Navigate to Xebium folder


Hit Enter for the above Prompt.

Please Type:  mvn -Pfitnesse test



Result: Wait till the process completes...


 It takes a little more time because Maven will retrieves all supported dependencies into Maven :



Note: Minimize the above running xebium server , please dont shut down till we complete with test case execution

Step.4: Open Browser and type :  http://localhost:8000/


Result: Xebium installed and running successfully on the system:


Thanks Much,
** Bin **          

Installation of Maven on Windows

Steps to Install Maven on Windows:
************************************

Step.1: Install and Run Java (JDK+JRE) on Your Windows System
Step.2: Download Maven from the below location:
              http://maven.apache.org/download.cgi


Step.3: Extract the Zip folder to C directory (not mandatory) in the System:


Step.4: Check the files under the extracted folder:


Step.5: Setting up the Path for Maven in Environment Variable:
--> Desktop
--> My Computer (Perform Right Click on My Computer)
--> Click on "Advanced  System Setting"
--> Click on "Environment Variables"
--> Click on "New" button under "System Variable"
        Variable Name= M2
        Variable Value = C:\apache-maven-3.0.5\bin
--> Click on "OK" button

Now we can see "M2" varibale is visible under System Varibale:


Similarly Add "M2_HOME" variable in the same "System Variable":
Variable Name= M2_HOME
Variable Value = C:\apache-maven-3.0.5


Note: We added two new variables "M2" and "M2_HOME" under "System Variable"
-Now Edit "Path" variable under "System Variable" in order to add path for maven directory:
-Add %M2_HOME%\bin under "Path" vaiable and click on "OK" to save the changes :

Note: Save all changes by clicking on "OK" button and come back to Desktop
Note: Re-Start the System (In my system , just a F5 (Refresh) worked)

Step.6: Open a new cmd prompt :
Type "mvn -version" as shown below


Result: The result shows maven is installed on Windows7 successfully :)




Thanks Much,
** Bin **