Why Selenium used for SugarCRM Automation Testing


Posted February 12, 2019 by techaroha

blockchain, blockchain developer, blockchain technology, SugarCRM Developers, create your own cryptocurrency

 
Sugar CRM is Customer Relationship Management software it widely use by client as per their requirements So, customer works on different scenarios, automation helps to reduce testing time so, tester can cover no. of scenarios
Selenium Webdriver is Open Source Software testing tool which is compatible with different browsers.
To create your test cases selenium support many languages but, Most popular is JAVA to prepare automation test Cases with Selenium WebDriver.
How to configure Eclipse with Selenium WebDriver?
Let’s Start to Install Selenium WebDriver in Eclipse
Step 1 : Download and Install New version of Java Development Kit (JDK).
NOTE : JDK has already include Java Runtime Environment (JRE) So, No need to install JRE separately.
Step 2 : Install Eclipse IDE
Now download “Eclipse IDE for Selenium”.
Make sure to choose link for downloading eclipse which corresponds to your Operating System like for Windows 32 Bit and 64 Bit Versions.
You should download a Zip file, inside ZIP file , there is an “eclipse” folder which has all the application file, We can extract the “eclipse” folder anywhere in your PC.
Step 3 : Download Selenium Java Client Driver
Click on Download link for java release. Download the jar files. You will get client drivers for other languages there, but choose the one for Java as shown above in the screenshot.
After downloading you will get a folder which should contain two jar files related to selenium, a “lib” folder which also contains jar files inside it. Beside this, there is a change log file as well. Refer to the screenshot below.
Create a new folder with name say ‘Selenium’ in C drive and extract the jar files to ‘Selenium’ folder.
Step 4: Download Chrome WebDriver
Selenium WebDriver support for many Browsers such as Mozilla, Chrome, Opera ,etc.,
To download any of WebDriver you should click on Browser link’
Click on Download link -> Click on “Latest Release : ChromeDriver 2.31” ->Click on Chromedriver_win32.zip (for Windows) , Make sure to clink link you want to download it for Windows, Linux or mac version
After downloading Create folder for chrome Driver and extract “ChromeDriver 2.31.exe” to created folder
Step 5 : Create a New Project in Eclipse
Navigate to C drive and open eclipse folder where we have extracted all the application files related to eclipse. In eclipse folder you would get a ‘eclipse.exe’ file. Click on the .exe file
This would ask you to select a workspace, you may accept the default location or simply create a new workspace inside C drive and confirm OK.
Create a new project and for creating click on File Menu -> New -> Java Project -> Name the Project as “testproject” and click finish.
Create a new Java Class, for doing this again click on File Menu -> New ->Class then name it as “testclass” and select the checkbox for ‘public static void main(String[] arg)’ and click finish.
• Add Selenium .JAR files in project
1. Now Right-click on “testProject” and select Properties.
2. On the Properties window, click on “Java Build Path”.
3. Click on the Libraries tab, and then click “Add External JARs..”
4. Navigate to C:\selenium 3.4 (or any other location where you saved the extracted contents of “selenium 3.4.0.zip” in step 3).
5. Add all the JAR files inside and outside the “libs” folder. Your Properties window after adding all the jar file should now look similar to the image below.
6. Finally, click OK and we have completed importing Selenium libraries into our project.
For more details on our products and services, please feel free to visit us at blockchain, blockchain developer, blockchain technology, SugarCRM Developers, create your own cryptocurrency
-- END ---
Share Facebook Twitter
Print Friendly and PDF DisclaimerReport Abuse
Contact Email [email protected]
Issued By techaroha
Country United States
Categories Business
Last Updated February 12, 2019