Search

Thursday, June 18, 2009

QTP (Quick Test Professional)

QTP (Quick Test Professional)

Quick Test Professional is software from Mercury Interactive. It is a Graphical User Interface functional testing tool that basically allows user actions to be automated on a client or web based computer application. QTP makes use of Visual Basic Script in order to allow the testing tool and the controls and objects of the application being tested to interact.

What is Smart Identification in QTP

Smart Identification is applicable for web application only. Record one object from application and modify the object property and execute your script. You will get one warning message in result. Navigate to working message in result file and read the note for smart identification.
Smart Identification is nothing but, if any property of test object is not matching with run time object property, it will write a warning to result and execute rest of the steps.Note: In the result Cap symbol will added for smart identification. (By looking in to this we can say that properties of test object is not matching with run-time object)


How to increase the execution speed of QTP scripts?


Go to Tools>Options>Run>select Fast
with using descriptive programming also u can do fast the execution

Reduce the lines of script. Writing the good test case means which is finding the correct error. Without using the object repository i.e. descriptive programming. its the optimization we call just decreasing the input and producing the quality


What is Key Word driven Testing?
Software test scripts are conventionally composed ad hoc by a coder. Some software development tools help automate testing by recording tests that are run, allowing "playback" of the test routines. However, an entire test routine is rarely, if ever, applicable to more than one release of one application. Data-driven testing adds some modularity by keeping test input and output values separate from the test procedure, but the procedure itself is still in a monolithic script. Keyword-driven testing breaks the test procedure into logical components that can then be used repeatedly in the assembly of new test scripts.