QTP identifies any GUI Object based on its corresponding properties. For example : If the question is how will check SAP checkbox, You say, first I will select SAP Add in … and so on. Tip: You can base you answer on similar lines for any other object of any environment. If you face an issue while recording, you can select Tools > Object Identification > Java, tree object and make changes in mandatory and assistive properties to enable identification. Next step record operations on the Java Tree. You can call 4 or even more scripts in your tests.For this, first you will need to make the Actions in the corresponding scripts re-usable.Then from the destination script you can make calls to these re-usable actions.Ĥ) What is action split and the purpose of using this in QTP?Īction split is to divide an existing action into two parts.The purpose is to divide actions based on their functionality to improve code re-use.ĥ) How will you handle Java tree in QTP ?įoremost you will select Java Add – In and launch QTP. Suppose there are 4 tests and I want to call these tests in a main script. The extension is “.tsr”ģ) Can we call QTP test from another test using scripting. Shared Object Repository is preferable while dealing with dynamic objects which are called in multiple tests. The extension for Per-Action repository is “.mtr”. Per-Action Object Repository is used by default. QTP Supports 2 types of Object Repositoryġ) Shared Object Repository (also called Global)Ģ) Per-Action Object Repository, (also called Local) 1) Which environments are supported by QTP?Ģ) What are the types object Repositories in QTP.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |