Login

Login
  • Register
  • VectorDesign blog

    Testing Automation and general Tech Geek stuff

    Install Guest Additions on VM linux

    sudo apt-get install virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 sudo apt-get install virtualbox-guest-additions-iso

    mount a shared folder in Virtual Box Linux Guest

    Start up your guest OS in VirtualBox. In the window for the running virtual machine, select Devices->Shared Folders… Click the icon to Add a New Shared Folder. Select the Folder Path drop-down and click Other. Navigate to your shared folder and click Choose. VirtualBox Add Share Click OK twice. That was the easy part. Go […]

    Install Java 8 in Ubuntu

    sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer

    clone git in console

    2.1 Git Basics – Getting a Git Repository If you can read only one chapter to get going with Git, this is it. This chapter covers every basic command you need to do the vast majority of the things you’ll eventually spend your time doing with Git. By the end of the chapter, you should […]

    Run Maven test on Linux command

    to run a Test Class mvn test -Dtest=classname To run a specific test (@Test) in a class file mvn -Dtest=TestCircle#xyz test where TestCircle is the test class name and xyz is the test method, wild card characters also work (both in the method name and class name).   To run all tests in a package […]

    Change Host name in linux

    In order to change the name of your Server you need to edit the computer name in two files: /etc/hostname and /etc/hosts These will both need administrative access, so run

    Android Automation Testing

    Selenium Jetkins

    Project description Create test Cases that will run each time a commit is pushed  and report the results   Requirements Maven Selenium Junit  

    Jetkins and Selenium Questions And Answers

    Install Jenkins (we already have that on our server) None needed. Install plugins for Jenkins (which ones?) As far as I remember no specific plugin is required just for this purpose. Jenkins should be able to run maven or ant job, it’s out of the box. Install xvfb so tests are run in a headless […]

    Selenium Webdriver Refresh page

    driver.navigate().refresh();

    install an rpm package from terminal

    An rpm is simply a compressed folder that contains the source of the programm you want to install First check to see if a rpm is installed on your system rpm If you get a response rpm command not found install the rpm programm sudo apt-get install rpm simply guide to the folder that the […]

    Installing i3 on a minimal linux instalation

    i3-wm is a window title manager for linux that can come really handy to use if you can get seperated from the mouse. i3 needs openx to installed on your machine in order to work. Open a terminal and give the following command sudo apt-get install xinit then install the actual i3-wm by entering the […]

    Selenium WebDriver Selectors

    Locating UI Elements (WebElements) Locating elements in WebDriver can be done on the WebDriver instance itself or on a WebElement. Each of the language bindings expose a “Find Element” and “Find Elements” method. The first returns a WebElement object otherwise it throws an exception. The latter returns a list of WebElements, it can return an […]

    WordPress Walker

    Walker defines how the list of the menu will be rendered exmaple if you want to change an <li>  to what you want that element to be In order to change the wp default li you need to create a custum file for the menu template copy the content of Walker_Nav_Menu class fromnav_menu_template.php in wp-includes   […]

    WordPress comments

    Για να είσάγετε τα σχολεια στο wordpress απλά προσθέστε την παρακάτω γραμμή στο αρχείο php <?php comments_template(); ?>

    Protected: wordpress installation

    There is no excerpt because this is a protected post.

    Selenium HttpClient

    facts Selenium cant work with post requests (only  get requests) Thas why we use s by using HttpClient library together with web driver.