Blog

SugarCRM Automation Testing of Filters using Selenium Webdriver

Why SugarCRM Automation Testing of Filters required? SugarCRM has allot of Vendors for Customer Relationship ,to manage and access Vendors required records sugarCRM provide efficient filtering system. Here, user can select Vendor ID, Member, Contact ID, etc. all filtering done by SugarCRM Automation Testing How? For Automation testing on filters need to handle two Actions Mouse Over action on Menu In SugarCRM most of the options are hidden under Menu or sub-Menus In order to perform a ‘mouse hover’ action, we need to chain all of the actions that we want to achieve in one go. So move to the element that which has sub elements and click on the child item. With the actions object you should first move the menu title, and then move to the sub menu item and click it. In order to perform action events, we need to use “org.openqa.selenium.interactions.Actions” class Move Menu item  : Invoice & Transactions  WebElement element = driver.findElement(By.linkText(“Invoice & Transactions”));  Actions action = new Actions(driver); action.moveToElement(element).build().perform() Click on Child item : Invoicedriver.findElement(By.linkText(“Invoice”)).click(); Here ‘build()’ method is used to compile all the list of actions into a single step and ready to be performed. We need to use perform() to execute the action. MULTIPLE WINDOWS ON SUGARCRM TO SEARCH VENDOR In SugarCRM filters has to open different window to select particular value to have required report. So, Now We have an to deal with multiple windows in Automation Testing has always been a little tricky and require an extra effort. The entire process can be fundamentally segregated into following steps: Step 1 : Clicking on Link for Vendor ID on SugarCRM 1st window A new Window with list of Vendor is opened. Step 2 : Move Focus from SugarCRM 1st window to Vendor Window Vendor Window is active now Code : for (String winHandle : driver.getWindowHandles())     {  driver.switchTo().window(winHandle);  } Step 3 : Perform Actions on Vendor Window Complete the entire set of Actions Step 4 : Move Focus from Vendor Window to SugarCRM 1st window SugarCRM 1st window is active now Let’s implement above steps in Eclipse with Selenium Webdriver on SugarCRM //get SugarCRM Window (Parent Window) String parentWindowHandle = driver.getWindowHandle(); System.out.println(“Parent window’s handle -> ” + parentWindowHandle); //Switch window from Parent window to Search Vendor Window driver.findElement(By.xpath(“//*[@id=’tmf_Invoicebasic_searchSearchForm’]/table/tbody/tr[3]/td[6]/span/button[1]”)).click(); for (String winHandle : driver.getWindowHandles()) { driver.switchTo().window(winHandle); // switch focus of WebDriver to the next found window handle if(!parentWindowHandle.equals(winHandle)) break; } driver.findElement(By.xpath(“//*[@id=’name_advanced’]”)).sendKeys(“prathama”); driver.findElement(By.id(“search_form_submit”)).click(); driver.findElement(By.xpath(“/html/body/table[4]/tbody/tr[3]/td[1]/a”)).click(); //Switch window back to SugarCRM Window driver.switchTo().window(parentWindowHandle); driver.findElement(By.id(“search_form_submit”)).click(); Please see the below video to see how SugarCRM Automation Testing on Filters  works For more details for implementing Automation Testing for SugarCRM please contact here.

Listing Crypto Coin on Exchanges. How To Figure Out which Exchange

Techaroha helps with Listing Crypto Coin on Exchanges with the minimum possible fees. Below blog will help you to explore different exchanges and cost to list your coin on the exchanges. Note: All figures and Stats mentioned are as on date of analysis. This might have changed when you are viewing the article. References : https://poloniex.com/ www.binance.com Hitbtc.com https://yobit.net/   https://mercatox.com Stocks.Exchange BitRidex.com Cryptocrix.net     Brief Requirement of Study   To Study the Impact of coin on Different Exchanges To Find the best possible exchanges and list the coin To mention the risk , pros and cons  of Different Exchange Cost involved to list the coin and ROI   Service We need to Buy from Exchange Coin Listing Air Drop of our coins Emailing to existing Users Some assurance of Minimum Buy   General Analysis  – Importance of Exchange Main target to list the coin on exchange is To get more buyers of our coin. To Give worldwide exposure to our coin To get Listing in Coin Market Cap Let’s get directly to the quantitative analysis. See the table below Exchange Name Total Volume Low Volume Coin (Less than 0.001 BTC) Percentage of Total Poloniex.com 4000 BTC 3 < 1% Binance.com 154704 BTC 10 <1% HitBtc.com 40582 BTC 50 > 30% Yobit.net 3731 BTC 70+ >50% Mercatox.com 800 BTC 50+ >50% Stocks.exchange 32 BTC 100 > 60% BitRidex.com 250 BTC 3 >50% Cryptocrix.net Not Known 3 >80%   Above table clearly shows that  considering the exception of Poloniex and Binanace , it’s clear that Coin Listing in Big Exchanges doesn’t guarantees that coin will be purchase on huge volume. Even in very big exchanges there are coins which don’t have enough volume. Coin volumes mainly depends on following factor How much big is the community How much active is the development team How many places where coin is readily accepts as other form of payment How Strong is the technicalities of the coin. How strongly it’s being promoted and it’s being brought in the attention of Crypto Users. Time Taken to Grow on the Exchanges After coin is being listed on the exchanges , it’s not wait and watch. Lot of efforts need to put up to get the users attention. To do self sell and purchase and buy more coins , this needs to be done to pump up the rate. Coin dumping needs to be avoided to maintain the rates.Need to ensure private source code or heavy mining machine. Because Crypto Miners immediately start mining and sell them when the price is right. They may even start dumping the coin. After all the above steps are taken post listin the coins , lets see how much time is required to attend the organic 1 BTC Volume. Without our own pumpers. Time Taken By Exchanges to Reach 1 BTC Volume in Organic Way No Pumping by Founders Exchange Name Total Volume Time in Months Comments Poloniex.com 4000 BTC 3-4 Months No Guarantee but chances are high Binance.com 154704 BTC 3-4 Months No Guarantee but chances are high HitBtc.com 40582 BTC 6-7 Months No Guarantee. Chances are high if you by their other services Yobit.net 3731 BTC – No Guarantee Mercatox.com 800 BTC – No Guarantee Stocks.exchange 32 BTC – No Guarantee BitRidex.com 350 BTC 4-5 Months Guarantee if you buy Specific Package. Cryptocrix.net Not Known – No Guarantee   Above analysis clears that reaching volume is again off line work , it’s like promoting coin to international users. International Crypto Users are not fool to buy the coin , just seeing them on Exchange. Lot of other efforts are required , main in marketing and technical upgrade of coins on regular basis.   Pros and Cons of Exchanges Lets analyse the pros and cons of reference exchanges and see where we fit.   Exchange Total Volume Pros Cons Poloniex.com 4000 BTC High Volume , Listed on Cryptomarket , Good User Base Check  Criteria , many coins don’t fit here Binance.com 154704 BTC High Volume , Listed on Cryptomarket , Good User Base Check  Criteria , many coins don’t fit here HitBtc.com 40582 BTC High Volume , Listed on Cryptomarket , Good User Base Many coins are listed , No attention to small coins , high listing fee of upto 10-25 BTC Yobit.net 3731 BTC High Volume , Very High User Base , Listed in Cryptocompare Bad Support , Many Coins without Volume , No Attention to Small Coins Mercatox.com 800 BTC Average Volume , Average User Base , Listed in Cryptocompare Many Coins with 0 volume , No Support from Exchange related to Coin Boost Up. Stocks.exchange 32 BTC Listed in Cryptocompare Airdrop is cheap and can help to boost coin presence Many Coins with 0 volume, No attention to new or small coins. Airdrop is average BitRidex.com 250 BTC Average Volume , Great Support for Coin Pumping.Average User Base , Accepts private repository with additional payments Not listed in Cryptomarket will take more 4 months as mentioned by support team , Average User Base , Support response time is 24 Hour which is slow. Cryptocrix.net Not Known Cheap Listing in around 0.1 to 0.2 BTC. Good Support in 24 Hours. Withdrawal cycle every 6 Hours. Low Volume , Low User Base , Not listed in Cryptomarket   Understanding Exchange Fees Every Exchange has some good features and their fees is also high.Coin Owner needs to choose between the best available features and his requirement and most important is the budget. Below is the rough comparison of different exchanges in relation to Budget. Exchange Name Total Volume Fee Services Comment Poloniex.com 4000 BTC      0 BTC Only Coin Listing Coin’s don’t feet into Criteria. Binance.com 154704 BTC     0 BTC Only Coin List , Airdrop Coin’s don’t feet into Criteria. HitBtc.com 40582 BTC     10-25      BTC Coin LIsting , Aird Drop , Twitter Update Too Costly Yobit.net 3731 BTC     1.5 BTC Coin Listing , Airdrop If Not Listed 100% refund guarantee.

Step By Step Guide to Install Hyperledger Fabric in Ubuntu

Before understanding how Install Hyperledger Fabric in Ubuntu  , please try to understand what exactly is block chain and what are the prerequisite required. What is BlockChain and Hyperledger Fabric Blockchain is finally making rounds around the globe. Initially started with Bitcoin , followed by many crypto currencies often refer as altcoin. Many people still believes that blockchain is all about Bitcoin and currency. But Block Chain has many other applications and it can bring decentralization and transparency in every application or service we use. Many organization and understood the importance of BlockChain and supporting platforms were launched to implement blockchain applications. Hyper Ledger Fabric is the a platform to developed and deploy Block Chain application/smart contract in Permission-ed network without requiring any sort of Crypto Currencies. Techaorha Team in India (Mumbai) helps corporate and government to implement block chain application in their existing application make it more secure and transparent. To Install Hyperledger Fabric in Ubuntu following componenets are required. Here is list. Steps required to install other components is detailed below that Curl Python Docker – Make sure you have made it accessible without sudo user and restart your system. Docker Compose Go Lang Node Js Install Dependencies to Install Hyperledger Fabric in Ubuntu Hyperledger requires some package to run the network, You must installing following dependencies to get started. curl to Install Hyperledger Fabric in Ubuntu. INstall curl using following commands in Ubuntu # command to install curl in ubuntu sudo apt-get install curl Installing Python  to Install Hyperledger Fabric in Ubuntu Python is require for running hyperledger. Below command will install python 2.7 , which is the required version of hyper ledger. # Command to install python sudo apt-get install python Installing Docker to Install Hyperledger Fabric in Ubuntu Hyperledger requires docker 17.06.2-ce or greater. So if you install docker from ubuntu packages it may not work as required. Follow the below commands to install Docker in Ubuntu for HyperLedger. #update the package index with the following command sudo apt-get update #install packages to help wiht Docker Installation in Ubuntu sudo apt-get install apt-transport-https ca-certificates curl software-properties-common # Add docker gpg key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add – # Verify the key in Ubuntu with Following Command sudo apt-key fingerprint 0EBFCD88 #add repository to Ubuntu System with following command to Install Docker for Hyper ledger sudo add-apt-repository “deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable” #again update the packages sudo apt-get update #install the specific version of Docker for Hyperledger installation. sudo apt-get install docker-ce=18.03.0~ce-0~ubuntu #thanks Installing Docker Compose to Install Hyperledger Fabric in Ubuntu # download docker-compose sudo curl -L https://github.com/docker/compose/releases/download/1.21.2/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose #Apply executable to the binary sudo chmod +x /usr/local/bin/docker-compose #check docker composeversion docker-compose –version Installing Go-Lang  to Install Hyperledger Fabric in Ubuntu GO lang is high level language developed by Google. Many applications are written in Go-Language. Go-Lang is required to program logic and smart contracts in Hyperledger Follow below step to install go-lang in Ubuntu #Download go-lang tar file using curl with the help of below commands curl -O https://storage.googleapis.com/golang/go1.9.3.linux-amd64.tar.gz #verify the code is from authentic source using below command sha256sum go1.9.3.linux-amd64.tar.gz #Extract the tar file in any folder tar -xvf go1.9.3.linux-amd64.tar.gz #move the go directory to usr/local using the following command sudo mv go /usr/local #open profile using below command sudo vim ~/.profile #following lines to ~/.profile file export GOPATH=$HOME/go export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin #reload the file using following command source ~/.profile #thanks. Installing NodeJs  to Install Hyperledger Fabric in Ubuntu Node Js  is script based programming language. NodeJs is required by Hyperledger fabric to program logic and write contracts. This can also be used to developed front-end with the help of angularjs framework. For Hyper Ledger NodeJs version are limited. Hyperledger fabric does not support NodeJs 9.x and its requires NodeJs above 8.9.x , so here you see option are very limited and the best to to install node js is via source code. Follow below steps to install hyperleger one by one. #update ubuntu package sudo apt-get update #install build essentials sudo apt-get install build-essential openssl libssl-dev pkg-config # change to source directory cd /usr/local/src #create node directory sudo mkdir node #enter into directory cd node #download node js version 8.9.3 using following command sudo wget https://nodejs.org/dist/v8.9.3/node-v8.9.3.tar.gz #Extract the tar file sudo tar zxvf node-v8.9.3.tar.gz #change to extracted nodejs directory cd node-v8.9.3 #Configure the Directory sudo ./configure # Run Make sudo make #Final Installation sudo make install #don’t forget to check the version using following commands node –version npm –version $thanks Download the fabric example and make the files readable. Make sure you navigate to the directory where you want to install the fabric example #download fabric example curl -sSL http://bit.ly/2ysbOFE | bash -s 1.2.0-rc1 Testing. To make sure everything is install as required. Lets run and create your first network on HyperLedger Fabric Generate the Genesis block of Your Network cd fabric-samples/first-network sudo ./byfn.sh generate Start Your Network #Start Your Network sudo ./byfn.sh up If every things goes well , stop your network sudo ./byfn.sh down Thanks for Reading till end. Hope the information provided above is very helpful to you. If you want any help you can always contact us over here.  Techaorha is always ready to take any project or challenges in block chain technology.

Step By Step Guide to Build Monero in Ubuntu – Latest version above 0.12

Building latest version of Monero is getting a bit tuff and many errors occur on the go. This article explains to Build Monero in Ubuntu. Please follow each step since missing a package may lead to an error. This article assumes that you are using ubuntu 16.04 , well most of the step will even work for ubuntu 14 , but you will have to compile certain packages to Build Monero in Ubuntu. If its a fresh installation of Ubuntu please execute following commands sudo apt-get update sudo apt-get install build-essential  1. Step 1 Install cmake to Build Monero in Ubuntu Here you should build cmake from source simple reason is version  if you install the camke via command “sudo apt-get install cmake”  version 3.5 will be installed which throws error while compiling monero. Best way would be to install cmake version atleast 3.10.1 , below commands will help you with installation of cmake version 3.10.1 . wget http://www.cmake.org/files/v3.10/cmake-3.10.1.tar.gz tar -xvzf cmake-3.10.1.tar.gz cd cmake-3.10.1/ ./configure make sudo make install sudo update-alternatives –install /usr/bin/cmake cmake /usr/local/bin/cmake 1 –force 2. Step 2 Install dependencies to Build Monero in Ubuntu To build monero some packages are required , this packages mostly inlcue boost , ssl etc. Below command will install all the required dependencies for Boost. You can always contact Techaroha if you want to clone a new currency from Monero. Please contact us here. sudo apt-get install pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev libsodium-dev libminiupnpc-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev libgtest-dev doxygen graphviz libpcsclite-dev  3. Step 3 , Clone the repository of Monero recursively This is most important and it has to be done in right way. I got stuck for 2 days because of this. You should clone the repository recursively , other wise all the files won’t be getting downloaded you will face many issues again and again , mostly like  undefined reference to `explicit_bzero’ , undefined reference to `memset_s’ or undefined reference to `pthread_create’. Best way to avoid any such error is to clone the repository recursively using this command. git clone –recursive https://github.com/monero-project/monero.git  4. Step 4 , Clone the repository of Monero recursively Now the final make command , go to directory of monero  and fire the make command , it will stall building , its gonna take some time so just be patience. Use the following commands cd monero make Techaroha team a Block Chain development company based in Mumbai(India) has experience block chain development team and can help you in all phases of coin development for Coin Development to Listing. To get the details of our service please go through the following link To Launch Cryptocurrency , please click here. You want help with ICO please click here.