Thursday, 20 September 2012

Box2D Engine

Box2D Engine

Box2D is a free open source 2-dimensional physics simulator engine and it is written in C++ engine for simulating rigid bodies in 2D. Box2D is developed by Erin Catto and has the zlib license.
We can use this engine while developing 2D games. this is very good engine to do the 2d animation games which I came across.

Box2D features are as follows:

Collision

  • Continuous collision detection
  • Contact callbacks: begin, end, pre-solve, post-solve
  • Convex polyons and circles.
  • Multiple shapes per body
  • One-shot contact manifolds
  • Dynamic tree broadphase
  • Efficient pair management
  • Fast broadphase AABB queries
  • Collision groups and categories

Physics

  • Continuous physics with time of impact solver
  • Persistent body-joint-contact graph
  • Island solution and sleep management
  • Contact, friction, and restitution
  • Stable stacking with a linear-time solver
  • Revolute, prismatic, distance, pulley, gear, mouse joint, and other joint types
  • Joint limits, motors, and friction
  • Momentum decoupled position correction
  • Fairly accurate reaction forces/impulses

System

  • Small block and stack allocators
  • Centralized tuning parameters
  • Highly portable C++ with no use of STL containers

Testbed

  • OpenGL with Freeglut
  • Graphical user interface with GLUI
  • Easily switch between tests using GUI
  • Test framework for easily adding new tests
  • Mouse picking and the bomb!
  • CMake build system files
 Well i have tried to mention the features of Box2d engine here.

Monday, 17 September 2012

Mobile Application Testing Key Factors

Mobile Application Testing Key Factors

Mobile Appli­ca­tion Soft­ware Overview
  • Overview Mobile OS and Platforms
  • Types Of Mobile Application
  • Overview on Mobile test­ing (Android / iPhone / Blackberry)
  • Mobile Web Test­ing Guide­lines and Approach
  • Scope of Mobile Appli­ca­tion Testing
Android Appli­ca­tion Testing
  • Android OS Ver­sions and Features
  • Android Device Fragmentation
  • Choos­ing devices for Testing
  • Android Envi­ron­ment Set Up
  • Intro­duc­tion to DDMS
  • Cap­tur­ing logs
  • Installing Android App
  • Android Test­ing Criteria
  • Android Market(Play Store) Sub­mis­sion Process
iPhone Appli­ca­tion Testing
  • Gen­er­a­tions of Apple devices
  • Human Inter­face Guidelines
  • Soft­ware Requirements
  • Installing Apple Apps
  • What is UDID, Impor­tance of Pro­vi­sion­ing Profile
  • Apple Sub­mis­sion Process
  • Apple Review Process
Mobile Test­ing Generics
  • Net­work Related Testing
  • Bat­tery Con­sump­tion Testing
  • Inter­rup­tion Testing(Call Handling,SMS)
  • Ver­i­fy­ing Mem­ory usage by app
  • Test­ing on dif­fer­ent types of devices
  • Test­ing on dif­fer­ent types of devices
  • Stress Test­ing
Remote Device Services
  • Overview:- Cloud based Mobile Test­ing Solutions
  • Intro­duc­tion to Device Anywhere
  • Per­fecto Mobile
  • Nokia RDA
Mobile Test­ing Utilities
  • Screen­shots cap­tur­ing tools
  • UDID Find­ers
  • Mem­ory Usage Tools
  • File Explor­ers in Android
  • Stress Test­ing Tools
  • Unit Test­ing Tool for iphone
  • Log Col­lec­tors
Here are few Automation tools which are used during mobile application testing. 

Mobile Test­ing Automa­tion Tool
You may find many more apart from this but I have tried to list down few tools which are helpful for QA in his/her mobile application testing. Please Let us know your feedback on the same into the comments section.

Monday, 3 September 2012

Pros & Cons of Watir, Selenium or Sahi tools


Watir

Pros:
  • It’s a Ruby library
  • Multi browser (& OS) support
  • Has a rich API
  • Has a ‘Simple’ class (for non-tech users)
  • Watij & Watin (Java & .NET)
  • gives more stable and straightforward feeling
  • automatically waits for the page to finish loading
  • can detect when it's finished loading
  • Watir's API more. It's richer than Selenium's
  • provides an "attach" method which lets me programmatic access both
    the original domain window and the linked domain window from the same test.
Cons:
  • Have to learn Ruby (unless you choose
    Watij or Watin)
  • Every browser requires a different
    library

Selenium

Pros:
  • Multi browser, OS & language support
  • Install server-side or as FF add-on
  • Has its own IDE, which speed up development
  • Record and playback tests
  • selenium rc + selenium ide (firefox plugin) for recording and playback of test case is great for generating test case on the fly
  • Choice of programming language
  • using JAVA through CruiseControl, make it easy to conver the selenium test code to JAVA
Cons:
  • Have to learn a vendorscript => Selenese (Unless you write tests
    in another language which it supports. Then you just have to use the API
    reference which is straightforward.)
  • has a lot of timing problems
  • have to use the pause command (or Thread.sleep() if you use it in Java to wait for the loading to complete
  • with Selenium is that it is very difficult to test complex multi-site apps
  • clickAndWait is not helping when working with Ajax technology
  • runs fine in firefox but had different problem on PC with IE6 and IE7
  • learning curve is on the higher side
  • IDE is nothing but a FireFox plugin...and it works only on FireFox
  • record and play back only on FireFox and only if you install the plugin
  • automation engineer needs to have reasonable experience on the chosen language
  • need to implement most of the things including logging mechanisms
  • Extensible Javascript APIs need a rebuild
  • Selenium needed a lot of hand holding
  • selenium doesn't support IE
Remarks:
  • use clickAndWait to wait for the page to load
  • using Java language
  • Selenium 1.0 uses Javascript
  • can use Python to run IE7 with Selenium Webdriver.

Sahi

Pros:
  • Multi browser support
  • Has its own IDE
  • Record and playback tests
  • Data-driven test via jdbc:odbc bridge (this allows to exploits data
    file as xls, mdb, csv, and .. every supportend jdbc:odbc driver)
  • active community (fast replies to bugs/problem/suggestions)
  • test success/failure reporting in html files
  • capabilities to run test using batch file or ant script
  • lightweight and not stress too much the host server.
  • install once and use anywhere
  • After Sahi server is running, tester can access Sahi Controller (aka IDE) from any supported browsers, no need for local installation
  • including a script recorder, object inspector, log broser, debugger, utility to test code without recording
  • Easy to learn, simple, powerful APIs
  • Built-in color coded HTML logs
  • Extensible Javascript APIs
  • Extensible on the server with Java
  • Parallel execution of tests
  • Multiple domain scripting
  • its not using x path
  • supported IE
Cons:
  • Confusing interface
  • Least developed/smallest community
  • documentation needs to be enhanced 
  • need to be improved reporting
  • needs more visibility on the web
  • controller can be a bit quirky need some learning curve
Remarks:
  • Javascript as the scripting language
  • similar in concept to Selenium

Thursday, 12 July 2012

What Is Windows RT and What Does It Mean To Me?

HTG Explains: What Is Windows RT and What Does It Mean To Me?

windows pc and windows phone
Windows RT is a special edition of Windows 8. It runs on ARM and you’ll find it alongside Intel x86 machines in stores, but you’ll be surprised just how much Windows RT differs from the Windows you know.
Windows RT is so different  that Microsoft has told Mozilla Windows RT “isn’t Windows anymore.” If you’re looking to buy a Windows system in stores, you should know the difference between Windows RT and the other editions of Windows 8.
Image Credit: Kiwi Flickr

ARM vs. x86

Windows RT was known in development as Windows on ARM, or WOA. It’s essentially a port of Windows from Intel x86 processors to ARM processors. x86 processors are what you’ll find in standard laptops and desktops today, while the vast majority of smartphones and tablets use ARM processors.
Because it’s a port of Windows to a different architecture, it doesn’t support legacy software – that is, all software written for Windows already. It’s known as Windows RT because it only supports applications written for Windows Runtime or WinRT (yes, “WinRT” refers to the runtime that works on both architectures, while “Windows RT” refers to the operating system that only works on ARM). You probably know Windows Runtime applications as “Metro apps.”

Image Credit: Robert Scoble on Flickr

It Has A Desktop, But…

Windows RT does have a desktop, just like other editions of Windows 8. You can launch the desktop and use Microsoft desktop applications like the Control Panel, Windows Explorer, Internet Explorer, and even Microsoft Office – in fact, each Windows RT system comes with touch-optimized versions of Microsoft Office apps on the desktop. Windows Media Player isn’t included, though.
However, you can’t run non-Microsoft applications on a Windows RT desktop. You might assume that this is because desktop applications just haven’t been compiled for the ARM architecture yet and developers just need to update them. This would be true, but Microsoft won’t allow third-party applications on the Windows RT desktop. In other words: The Windows RT desktop is locked-down and only for Microsoft applications. You can’t install non-Microsoft desktop applications.

Third-Party Application Restrictions

All third-party applications on Windows RT must be Metro applications, and Metro applications must go through the Windows Store and be approved by Microsoft. This means that a Windows RT device can only run Microsoft-approved applications, just like an iPad can only run Apple-approved applications.
This has implications for browser choice, too. On a Windows RT device, the Metro version of Internet Explorer has exclusive access to system APIs, which means Mozilla, Google, and others can’t develop their own browsers for Windows RT – both Mozilla and Google have raised concerns about this. If you use a Windows RT device, you’ll be using Internet Explorer – just like if you use an iPad, you’ll be using Safari. All third-party browsers for the iPad are shells around Safari, just like all third-party browsers for Windows RT will be shells around Internet Explorer.

Image Credit: Asa Dotzler on Flickr

Windows RT Is For “Devices”

Windows RT is clearly inspired by the iPad and it’s no coincidence that its restrictions mirror Apple’s. Microsoft envisions Windows RT computers as “devices,” not traditional PCs. You won’t be able to buy a boxed copy of Windows RT in stores – it’s only available pre-installed on ARM systems. Initially, these ARM systems will be a handful of Windows tablets, but there’s nothing stopping Windows RT from eventually running on laptop and even desktop computers with ARM chipsets.
Windows RT devices will be locked down in other ways, too. Microsoft mandates that Secure Boot on Windows RT devices isn’t user-configurable, so you won’t be able to remove Windows RT and install Linux or another operating system.

Image Credit: Kiwi Flickr

Missing Enterprise Features

Windows RT also lacks many enterprise features that have made Windows so successful. Windows RT devices can’t join an Active Directory or domain and don’t support group policy, so they can’t be easily managed by existing Windows infrastructure.
Windows RT also lacks a variety of other features, including Storage Spaces, BitLocker, remote-desktop hosting, and encrypted file systems. For a full list of limitations, check out Microsoft’s post announcing the Windows 8 editions.

Not All Windows Tablets Run Windows RT

Many Windows tablets – in fact, most of the tablets you’ll see in stores when Windows 8 debuts – won’t run Windows RT. They’ll be using a standard x86 Intel processor with one of the standard versions of Windows 8. That means they’ll support third-party desktop software and all standard Windows features.
If you’re interested in a Windows 8 tablet because of support for legacy desktop software, be sure to get an x86 tablet, not an ARM one. If you’re looking for enterprise features, you’ll probably want to stay away from Windows RT, too.

Current rumors indicate that each copy of Windows RT will likely cost manufacturers around $85, making Windows RT more expensive than other Windows 8 versions – and likely making Windows RT tablets more expensive than iPads. Windows RT tablets could even be more expensive than more full-featured Windows 8 x86 tablets.

Source: http://www.howtogeek.com/116637/htg-explains-what-is-windows-rt-what-does-it-mean-to-me/

Thank you.

Saturday, 31 December 2011

LG To Debut Second Intel-Powered Smartphone At CES 2012



“If at first you don’t succeed, try try again.” It looks like LG and Intel have taken that old adage to heart, if a new report is to be believed. The Korea Times reports that LG will debut an Intel-powered smartphone at CES 2012, but the bigger question is whether or not the device will ever make it to market.

LG and Intel’s first mobile partnership yielded an Android smartphone running on Intel’s Moorestown chipset for CES 2011, but the device was ultimately scrapped. The reason for its premature demise? As the story goes, the device died because of it’s “lack of marketability.”

LG’s brass certainly thinks their Intel smartphone is viable — according to one of the Times’ executive sources, the device could be released as soon this March. Still, the original LG-Intel phone was pegged with a 2011 release date, so take those claims with a grain of salt for bow.

Hopefully LG’s second swing at an Intel-powered phone fares a little better — it’s said to run on Intel’s next-generation Medfield system-on-a-chip, and early tests have yielded some pretty impressive benchmarks when compared to NVIDIA’s Tegra 2 and Qualcomm’s Snapdragon MSM8260 SoCs.

Of course, the real competition is yet to come, as nearly every player in the mobile chipset market is hard at work on their next-generation platforms. Intel has a lot of brand recognition when it comes to PCs, but their lack of presence in the mobile market to date could mean that Medfield could drown in a sea of established ARM-based chipsets.

That’s why the partnership with LG is so critical — despite their handset division spending a few quarters in the red, LG is still the number two handset OEM in the U.S. Having a major hardware vendor taking a chance on their new platform could establish Intel as a real player in the mobile space, and right now Intel’s mobile efforts could use all the visibility they can get.

Windows Phone 7 will get three LTE phones in 2012

Yesterday we saw an alleged leak of Microsoft’s 2012 Windows Phone roadmap. It offers an eyebrow-raising view of a company that is trying to invade the smartphone market from the bottom up (starting with low-end phones). Today we have a new report that further materializes Microsoft’s near-term plans for Windows Phone 7.

The big news, which will apparently be officially announced at CES, is that there will be several LTE Windows Phone devices in 2012 — and they will all be on AT&T. The three phones — the Nokia ACE, HTC Radiant, and Samsung Mendel — will ship by the middle of the year. The ACE, specifically, is set to launch on March 18.

The LTE phones will probably all run Windows Phone 7.5 Mango, as the previous roadmap leak points to the Tango update, which is aimed towards low-end phones, coming earlier in the year. The Apollo update, which will support high-end handsets, won’t show until the fourth quarter of 2012.

A final detail of the new leak has Nokia’s Lumia 710 launching on T-Mobile on January 11, and on Verizon in April. The Lumia 710 will launch in the US before the Lumia 800, making Americans’ first impressions of the Nokia/Microsoft alliance that of a mid-range phone that doesn’t dazzle like the Lumia 800.

While the Microsoft/Nokia bottom-up strategy seems illogical, it could have something to do with the release of Windows 8. Though Windows 8 and Windows Phone 7 are two different operating systems, the Metro UI will bring them together on a cosmetic level. In the eyes of most customers, that may be enough to create a positive association and let Windows Phone ride Windows 8′s (expected) buzz. The strategy could fizzle, but it also may be a smart gamble.

* Note that the above image is a visualization: no Windows Phone marketing materials were part of the leak.