Tuesday, June 30, 2015

Tips and Tricks :Kiosk Mode For IE

Sometimes we get a requirement to put our webform in Kiosk and end-users are not suppose to disturb the AS-IS state hence to restrict that there is option build in with windows.
All we have enabled

Run-> iexplorer -k website url


 

To start Internet Explorer in Kiosk mode and start Internet Explorer with the Microsoft Web site, click Start, point to Run, and then type iexplore -k www.microsoft.com in the Open box.


You can lock down these subversive key combinations using restrictions in the Registry. Launch RegEdit from the Start menu's Run dialog; navigate to HKEY_LOCAL_MACHINE\SOFTWARE\

Policies\Microsoft Internet Explorer\Restrictions; and find or create each of the following DWORD values, setting its data to 1 to enable the restriction:

  • NoBrowserClose (disables closing the browser window)

  • NoBrowserContextMenu (disables right-click context menu)

  • NoFileOpen (disables use of Ctrl-O or Ctrl-L to launch an arbitrary URL)

  • NoOpenInNewWnd (disables opening a link in a new window via Ctrl-N or Shift-click)
 

 
 

Sunday, June 21, 2015

My Idea: Ecommerce Real time Shopping experience using Online.

I'm not sure about this idea is already evolved, think through and designed . It might be a reality somewhere. We moved from 3G to 4G world now. The time is not too far when streaming will be way of live.


Just imagine we shop online we search for product , add to shopping cart ,checkout and make online orders. What if we do online shopping directly entering into given preferred store as if you're physically present. The idea is simple ,  a live video robotic cameras which will take you to each location (AISLE) or shelf of the store where products or item is placed , you are taken to store tour and you in a way pick the product or scan a product or tick it to add to your shopping cart. The camera assigned to you will help capture barcode and add it to shopping list. There will be predefined set of robotic camera for any user to select from. Is this possible? Not sure.. But seems to be concept.




Like there are predefined set of robotic cameras installed and mount on each location which keep moving once it is assigned to you when you want to shop from that given store. It could be small high definition, ISO precisions camera which keep moving, rolling and given you feed time to time. This is bit trickiest and amazing experience while you just don't have to search item and want to move like a regular shopper within store to understand all variation , range of product. This is my idea and may be it is adapted, opted and engineered to bring live to the real world platform.













Wednesday, June 10, 2015

Sitecore TDS Issue: First Time Sync to sitecore-length of field content does not match the content-length attribute

https://medium.com/sitecore-tips-tricks/deploying-sitecore-items-with-git-and-tds-f6a47605d1b4




Step 1:
The trick is you have to add gitattribute using VSO git and then commit and sync the text given in the blog


Step 2 Delete working local copy and clone the repository again.


Step 3: Sync Sitecore again, error will disappear.

Tuesday, June 9, 2015

Idevice + Iphone + Ipad= IOS && Private browsing + Local storage Limitations

There are several reasons why we use localstorage in place of cookies to get away with limited memory placeholder for cookies. In ecommerce sites we often allow users to add to carts without login to certain workflow steps and hence we would require local storage to store the product details.

There is potential problem with IOS private browser where localstorage is either disable  or we can't write it back to local storage collection.

http://spin.atomicobject.com/2013/01/23/ios-private-browsing-localstorage/

Monday, June 8, 2015

Just Debugging & Performance Web Tool

Debugging Tools:

1. Firebugs
2. Firepath for selenium
https://addons.mozilla.org/eN-US/firefox/addon/firepath/
3. Selenium tool


PERFORMANCE TOOL:-

Like/Alternative Yslow.
http://gtmetrix.com

More of a network / file size analysis.
http://www.webpagetest.org

http://tools.pingdom.com/fpt/
Very similar to YSlow and Pingtom Tools



Does a side by side race of two URLs
http://www.whichloadsfaster.com/

results are generally public but you can download and run this program on your own server if you want. Very useful if you have lots of websites to check and want to automate that process.
http://www.showslow.com/

Yslow.

Going beyond just page load time:
HTML Validator:
HTML validation should be a pre-commit step.
I generally use the HTML Validator plugin in Firefox.
online version is here: http://validator.w3.org/

Tuesday, June 2, 2015

Selenium IDE 2.9.0 Kick Start Installation Guide

It was useless effort all these days to get started with selenium. I did install selenium in past using firefox add-ons and it was really smooth and fast way to do it however somehow this time things were not same as I thought it would be.

Problem:
Coming back to actual problem: Selenium IDE not appearing , then I went to menu, choose customize and then added as toolbar, still no success.

Solution : Brute force method
  • Go to http://docs.seleniumhq.org/download/
  • Search for Selenium IDE. 2.9 , click on firefox 2.9 and save it in desktop or file system.
  • Install .xp file from Add ons .See picture.
  • It will give all set of required library to get started. Click Install now. Selenium IDE appears in tool bar to get you started.