WaYBloG

Keep track of all little drops happen in life

Sticky: Migration Ongoing...

Migrating from local repos to online, ongoing

The website is currently being migrated from all sorts of places...local, git page, and work notes...


TDOnlineBanking Header Issue

New app rollout done wrong, Mar 1, 2018

I was unable to log in to my td online banking site for a few days. The page kept showing that there's a 400s bad request and asked me to try again at a later time. Tried today with another browser and worked. I realized they must've screwed up the website that the previous local data is no longer compatible with the new site.

Indeed, the error is this :

"Size of a request header field exceeds server limit." (WHAT)

Alas, the mighty chrome has the function to remove individual site data under "privacy->content settings->cookies->see all cookies and site data". But I'm still wondering if the site can force clear client-side cookies though...maybe force the expiration date from the server side?

Lesson learned:
1. The level of error exposure to users should be accurate and meaningful at the same time.
2. Running with previous settings for compatibility testing needs to be on a regular basis.
3. Messing with data you do not control is BAD.

thoughts cookie

Interview Page

Gatekeeper is helpful... Jan 11, 2016

Had quite a few candidates who had no idea how automation works and how to write automation tests...very sad story...

Thus created this page to use at the interview, to let the candidate write automated tests based on what's on the page.

Planning to add more in the future but this would be sufficient for the upcoming candidates.

interview automation

Useragent Info Page

WHY YOU NO LOAD DESKTOP PAGE, Dec 15, 2014

Encountered something quite funny when implementing a new webapp...it kept forcing the mobile view even though I'm already requesting for desktop page. I have no idea why this is happening...

Might as well just use this page on the device then...

useragent Responsive Design

Responsive Design Testing

How webpages would look on various devices, Jan 23, 2013

Found a new tool online today which would help with responsive design testing. This could be a great help for any pages I'd like mobile users to view properly. This is available here.

Webapp Javascript H5C3

Firefox OS API Webapp

API Testing on the go, Jun 19, 2012

The app is created based on API available on gecko b2g device. It touches almost all APIs available to the device currently. Eventually this app will be loaded onto an actual device as a vanilla app and will be used to test API status on the specific physical device. Check this out at Firefox OS Webapp.

iOS Applescript Javascript Automation

iOS Automation Framework

Auto pilot iOS apps from command line, Nov 11, 2011

This project, currently named trio, is dedicated to bring us automation for different mobile platforms. Right now it only supports iOS automation using the instruments.app provided by apple. The test cases themselves use javascript to perform UI interactions. As a result, we need to familiar outselves with the syntax and format of the test cases.

First thing, we should clone the sugarcrm/PhoneVooDoo repository and check the files under the folder Trio. The powerpoint document is a good starting point to gain some knowledge towards what this piece of code does.

The text.xml is the "test file" that testers will write. The output.js is the converted javascript tests mentioned above. Currently trio only converts the xml file to javascript. In the future we should implement it in a way such that it will also push the converted test to instruments and have it run the converted test.

There are some useful links provided in ref#2 to help us understand the whole iOS automation process. Also there's been enhancements done by apple to make our lives easier. We will also want to be able to run trio through command line as well in order to make it friendly for CI automation process. Trio uses documentbuilder for xml parsing, so some knowledge regarding the w3c dom libraries are recommended.

This is available at this github repo.

Responsive Design