Tuesday, August 7, 2012

Keyword Driven

Object:

         As very simple to describe about object, "Each and everything that we seeing in Application is called an Object", The identified objects are been stored in object repository,

                          QTP --> OR --> Application

        When the QTP play back the recorded scripts, At first QTP will look for objects that we stored in the repository, "Object Repository" is the place where it holds its properties and its values, Here we can store all the object information's which is available  in the application, and it acts as a interface between QTP and Application

Steps to go for Object Repository:

1. Open QTP
2. Click on "Resources" menu
3. Click on "Object Repository" (Ctrl+R)

After the above steps, Click on "Add Objects to local" Menu



















In above screenshot i just captured the all objects of "www.google.co.in", Here the selected Test Object is "Google" the object Properties of the google is the same highlighted in Right side of the page,

Name: Google
Class: Browser
Repository: Local (Stored in Local system)

By having the above object properties we can generate the script without recording, since the captured object is get stored in local,

Browser("Google").Page("Google").WebEdit("q").Set"QTP"
Browser("Google").Page("Google").WebButton("Google Search").Click

the above script will "Google Search" the word "QTP" once it get playback from the "Object Repository"

9 comments:

  1. Python django course online teaches complete backend web development remotely. It focuses on practical project implementation. This python django course online improves programming confidence. Learners build dynamic applications. Web architecture is included. Security concepts are covered. Assignments enhance understanding. It prepares industry professionals.

    ReplyDelete
  2. Very informative! database modeling course
    skills help developers and analysts design databases that are consistent, scalable, and optimized for real-world business applications.

    ReplyDelete
  3. An iOS application development course focuses on teaching how to build applications using modern Apple technologies. It explains app architecture, development tools, and coding techniques clearly. This ios application development course helps learners gain practical experience through exercises and projects. Students build real-world applications. The course prepares learners for iOS development careers.

    ReplyDelete
  4. Nice article! database modeling course
    is perfect for anyone looking to improve their database and analytical skills.

    ReplyDelete
  5. Interesting discussion shared here. Continuous learning is important in today’s digital world, and many professionals explore programs like a cyber security course to improve their skills.

    ReplyDelete
  6. Good insights mentioned in this post. Many learners today prefer structured programs such as cybersecurity awareness training to build strong foundational knowledge.

    ReplyDelete
  7. This topic highlights how important security awareness has become. Organizations are increasingly adopting cyber security awareness training for better protection.

    ReplyDelete
  8. Nice read! With growing digital threats, many professionals are enrolling in cyber security training to stay updated.

    ReplyDelete
  9. Informative discussion. Flexible learning options such as it security classes online make it easier for working professionals to learn.

    ReplyDelete