Monday, June 30, 2014

How to Disable Selenium HtmlUnitDriver logging

Recently, while working on a project using Selenium HtmlUnitDriver, i found that it generates too much log messages by default to output console which really fills the screen with non wanted messages.


So, like me some of you may also get this and wanted to resolve the same. What i did is added the below code statements to suppress the logging messages.


LogFactory.getFactory().setAttribute("org.apache.commons.logging.Log","org.apache.commons.logging.impl.NoOpLog");
java.util.logging.Logger.getLogger("com.gargoylesoftware.htmlunit").setLevel(Level.OFF);
java.util.logging.Logger.getLogger("org.apache.commons.httpclient").setLevel(Level.OFF); 

and it Worked :) :)

Sunday, June 29, 2014

Setup your code respository on Github

1. Sign up first on the http://github.com for your free account.

2. After login, click on the 'New Repository' as shown in the image below:


3. Then, on next page provide your new repository -
- Repository Name [ anything you like]
- Description [ This is optional. You can provide some basic overview of your repository so people can     understand your work from there.]
Repository Visibility Type [ Here if you want to make your repository PRIVATE then you need to upgrade your github account, otherwise you can go with PUBLIC repository.]
 - Check the option "Initialize this repository with a README"
-  Add .gitignore file [ For this select your project language, for example here i selected java]
Add a License [ You may add a license if u like and as per your requirement, here i am adding MIT ]
- Then just click on 'Create Repository' button

4. So, here is your repository created:

5. From the above screenshot, you can see a unique HTTPS Clone URL is generated for you repository. You can use this to pull your repository, start working on it, and then push back your changes.

6.  To clone your repository to your local system, just download the git client for your system and install.
  

7. Now to clone your repository, open the installed Git bash:
    -  Type the clone command as  [   git clone https://github.com/lalit-k/test-project.git  ]


8.  Go to the folder on your local machine, where you cloned the repository to access the file. :)


Tuesday, June 24, 2014

ISTQB - CTFL Cleared!!! :)



So, finally i got a mail from ISQI with my ISTQB Foundation Level exam results. I passed with 85% i.e 34 out of 40 question :)

I decided to write this blog, for those who like to take this examination without formal or no formal training. Well, i didn't took any.

How To Register:1. Either give exam from your country Testing board. For India you can go to http://istqb.in/, register and schedule your exam.
2. Second option is to give through other exam providers like Prometric or PearsonVue.

Well, i gave through PearsonVue. You can go to http://pearsonvue.com/isqi/ and schedule your exam.

Results Declaration [ PearsonVue ISQI ]:Well after completion, the attended at the examination center gave me the result with PASS status but it didn't had any score. Then after 1 week i got a mail from the ISQI with my results and now i am waiting for the my certificate :) As they said it will may take around 6 week to max :|

Study Material to Follow/I Followed [ Collected from istqb.in and internet ]: 

https://drive.google.com/folderview?id=0B8oqIHl1Y-9uVTVNUm5WakhkOVU&usp=sharing

SharePoint 2013 - Enable Sign in as a Different User




1. Find and open the following file from the Sharepoint 15 hive
 'C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx'

2. Add the following control code before the control having ID 'id="ID_RequestAccess"' and save the file.
<SharePoint:MenuItemTemplate runat="server" ID="ID_LoginAsDifferentUser"
 Text="<%$Resources:wss,personalactions_loginasdifferentuser%>"
 Description="<%$Resources:wss,personalactions_loginasdifferentuserdescription%>"
 MenuGroupId="100"
 Sequence="100"
 UseShortId="true"
 />




3. Reload the SharePoint web application and check again. 'Sign in as a Different User' should be visible now :)

AWS Certified Solutions Architect Associate - AWS Introduction - Questions

All the Best !!! Show Result !! Try Again !! ×