Skip to main content

Posts

Showing posts from January, 2017

Using AutoIt for the code of uploading file

https://www.autoitscript.com Download AutoIt Editor and AutoIt windows Information .exe files. The whole idea is-  After the installation is done, we need to write an AutoIt script for our code of uploading file, and then we have to compile it and then include its .exe file to our rest of the code. Before compiling any code in autoit, we should run a:  SyntaxCheck by pressing CTRL+F5 It will check the syntax of your code and alert you if there are problems. It covers all: https://www.youtube.com/watch?v=51iuVOHGUHs

Setting Environment Variables JAVA_HOME, MAVEN_HOME, PATH and CLASSPATH in Java for Windows

http://www.a2ztechguide.com/2011/10/setting-environment-variables-javahome.html https://docs.oracle.com/javase/tutorial/essential/environment/paths.html http://stackoverflow.com/questions/2619584/how-to-set-java-home-on-windows-7 Recommended: https://www.youtube.com/watch?v=2FWhn6xteU0&list=PLTgRMOcmRb3OHE_z8n9uCpROTaynNcv1u&index=3 JDK Download link: http://www.oracle.com/technetwork/java/javase/downloads/index.html Set under System variables>> JAVA_HOME C:\Program Files\Java\jdk1.8.0_102 Set under System variables>> JAVA_CLASSPATH .;C:\Program Files\Java\jdk1.8.0_102 Set PATH under User Variables of UserName: C:\Program Files\Java\jdk1.8.0_102\bin echo %JAVA_HOME% Output should be- C:\Program Files\Java\jdk1.8.0_102 echo %JAVA_CLASSPATH% Output should be- C:\Program Files\Java\jdk1.8.0_102 echo %PATH% Output should be- C:\Program Files\Java\jdk1.8.0_102\bin Setting up Maven: https://stackoverflow.com/questions/45119595/ho...

Maven integration for Eclipse + Creating simple maven project in eclipse

Note: In updated eclipse, maven is installed automatically. So, at first, try the "Finally" section at the bottom of this post. maven is the build tool for web application automation testing. It helps to get the dependencies we need, at the same time, build the project using a continuous Integration (CI) server.  Use jenkins as CI server.  Use cucumber use java Use Test Driven Development (TDD) https://www.youtube.com/watch?v=8bZvevzeq-o&index=6&list=PLTgRMOcmRb3OHE_z8n9uCpROTaynNcv1u Maven Eclipse plugin installation step by step: Open Eclipse IDE Click Help -> Install New Software... Click Add button at top right corner At pop up: fill up Name as "M2Eclipse" and Location as " http://download.eclipse.org/technology/m2e/releases " Now click OK After that installation would be started. # Another way to install Maven plug-in for Eclipse: (easiest one) Open Eclipse Go to Help -> Eclipse Marketplace Se...