This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** | |
| * *************** 1 - Function Purpose - To Highlight The Webelement ************* | |
| * @param ele - WebElement | |
| * @param d - Driver | |
| * @param Color - Color by which Element which need to be highlight. | |
| */ | |
| public static void Highlight_Element(WebElement ele,WebDriver d , String Color) | |
| { | |
| JavascriptExecutor js=(JavascriptExecutor) d; | |
| String command = "arguments[0].style.border='4px groove "+Color+"'"; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | org.apache.commons.logging-1.1.1.jar | |
| REST - | |
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| package webserviceclient; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | List all running process. | |
| sudo netstat -peanut | |
| Install VIM | |
| sudo apt install vim | |
| Apache port configure and restart | |
| 1. sudo vim/etc/apache2/ports.conf -> port update | |
| 2. sudo service apache2 restart | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | **************** How to run Java Maven project in jmeter ************* | |
| Eclipse Side - | |
| create a maven project use type - maven-archetype-quickstart | |
| Add all the relevant dependency | |
| Execute Maven from Command line [Build and generate target] | |
| Run the below command to generate main jar and its dependency. | |
| - mvn -U clean verify | |
| - mvn clean install -U dependency:copy-dependencies | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Node JS - | |
| Express Js - light framework to create Rest Service. | |
| ******************************************************************************************** | |
| Server.js [Express.JS] - | |
| var express = require('express'); | |
| var app = express(); | |
| app.get('/wines', function(req, res) { | |
| res.header("Access-Control-Allow-Origin", "*"); | |
| res.header("Access-Control-Allow-Headers", "Origin, X-Requested-With, Content-Type, Accept"); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Page refresh after 5 sec :- | |
| <meta http-equiv="refresh" content="5"/> <!-- 5 sec interval--> | |
| <h1>Page refersh in every 5 seconds...</h1> | |
| HTML TextArea New Line | |
| 
 | |
| Replace Example | |
| $("#allfeestext").val().replace("Class "+$("#classfeedropdownid").val() + " - 10 Thousand/Lakh/Crore Rupees","Class "+$("#classfeedropdownid").val() + " - "+$("#feesid").val() + $("#feeunit option:selected").text()) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import org.apache.http.HttpResponse; | |
| import org.apache.http.client.HttpClient; | |
| import org.apache.http.client.methods.HttpGet; | |
| import org.apache.http.impl.client.DefaultHttpClient; | |
| /** | |
| * | |
| * @author ShivamMaralay | |
| */ | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Source - http://www.oldversion.com/linux/ | |
| Chrome | |
| - https://google-chrome-portable.en.uptodown.com/windows/old | |
| - https://www.slimjet.com/chrome/google-chrome-old-version.php | |
| Safari | |
| UC Browser | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | **** Outlook Monitoring **** | |
| Set myOlApp = CreateObject("Outlook.Application") | |
| Set myOlNameSpace = myOlApp.GetNamespace("MAPI") | |
| Set objFolder = myOlNameSpace.GetDefaultFolder(6) | |
| Set itms = objfolder.Items | |
| ItemCount = itms.Count | |
| UnReadItemCount = objFolder.UnReadItemCount | |
| MsgBox "There is total " & ItemCount & " messages in your mailbox." | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | https://www.hostingcharges.in/hosting-coupons/godaddy | |
| https://www.hostingcharges.in/hosting-coupons/hostsoch | |
| https://www.hostsoch.in/linux-hosting.html | |
OlderNewer