Interview Questions, Answers and Tutorials

Month: December 2011

Basic Knowledge of Game Testing

To be a game tester, you need to be an avid game player. But playing games is not enough, you need to have a flair for finding problems. A computer game is further complex than a usual software application. Mostly games are made up of collection of essential components like rendering engine, database, animations, sounds, special effects etc. The process and techniques that are normally used for software testing will also be functional for Game Testing e.g. Code Inspection, Path and Flow testing, Incremental Focus Testing etc. You have to examine each and every part of the game. For example Read More

4 ways to get & count objects in QTP

Imagine simple and practical QTP tasks: How to count all links on Web page? How to get them and click each link? How to get all WebEdits and check their values? I’m going to show 4 approaches how to get lists of UI controls and process them (for example get their count).As an example, I will work with links on Google Labs page. My goal is to get the list of links and count them. I’ve added Google Labs page to my Object Repository and now it looks like: I use Object Repository (OR) to simplify my demo-scripts.Since the browser & the page were added to OR, we Read More

QTP – How to get all Object Indentification Properties?

There are two ways how to get all properties of an object in QuickTest Professional: Manually Programmatically Use QTP Object Spy to get manually object properties.I’ve captured properties of ”Advanced Search” link from Google’s page: So, QTP Object Spy shows these values: Using QTP Object Spy you can get Run-time Object Properties and Test Object Properties. It’s possible to get these properties programatically: The GetTOProperty and GetTOProperties methods enable you to retrieve a specific property value or all the properties and values that QuickTest uses to identify an object. The GetROProperty returns the current value of the test object property from the object in the application. GetTOProperty differs from the GetROProperty method: GetTOProperty returns Read More