Print Page | Close Window

Why to have Programming Statements in QTP

Printed From: One Stop Testing
Category: Testing Tools @ OneStopTesting
Forum Name: QuickTest Pro @ OneStopTesting
Forum Discription: QuickTest Pro is a fresh approach to automated software and application testing that addresses testing needs of both business analysts and Quality Assurance professionals.
URL: http://forum.onestoptesting.com/forum_posts.asp?TID=6241
Printed Date: 19Jan2025 at 5:07pm


Topic: Why to have Programming Statements in QTP
Posted By: yogindernath
Subject: Why to have Programming Statements in QTP
Date Posted: 23Nov2008 at 4:36am

We add steps, which contain programming logic to the recorded framework just to increase the power and flexibility of the testing process.

Programming statements usually contain:

1) Recordable test object methods: These are operations that a user can perform on an application.

2) Non-recordable test object methods: These are operations that users cannot perform on an application. We use these methods to retrieve or set information, or to perform operations triggered by an event.

3) Run-time methods of the object being tested.

4) Various VBScript programming commands that affect the way the test runs, such as conditions and loops. These are often used to control the logical flow of a test.

5) Supplemental statements, such as comments, to make our test easier to read, and messages that appear in the test results, to alert us to a specified condition.



-------------
http://www.softwaretestinggenius.com - http://www.softwaretestinggenius.com
A Storehouse of Complete Knowledge on Software Testing & QA under one Roof



Print Page | Close Window