Skip to content

Iptv Assist

Learn More from us

Menu
  • HOW TO
  • Firestick
  • Chromecast
  • PC Apps
  • Lg Smart TV
  • IPTV Services
  • Automation Testing
  • Smart TV
  • Software Testing Tools
  • Contact Us
Menu

QTP Tutorial #8 – Learn About QTP Recording Modes, Object Spy and Object Repositories

Posted on January 29, 2023

Best Iptv Service Provider 2023 With 40k+ Channels And 100k+ VOD . 24/7 Suppport . Paypal Supported

In this tutorial, we will talk about the different recording modes, Object Spy, and Object repositories in QTP.

Best Iptv Service Provider 2023 With 40k+ Channels And 150k+ VOD . Hurry Up

=> Click Here For The QTP Training Tutorials Series

Recommended IPTV Service Providers

  1. IPTVGREAT – Rating 4.8/5 ( 600+ Reviews )
  2. IPTVRESALE – Rating 5/5 ( 200+ Reviews )
  3. IPTVGANG – Rating 4.7/5 ( 1200+ Reviews )
  4. IPTVUNLOCK – Rating 5/5 ( 65 Reviews )
  5. IPTVFOLLOW -Rating 5/5 ( 48 Reviews )
  6. IPTVTOPS – Rating 5/5 ( 43 Reviews )

 

Recording Modes in QTP

Recording is the most commonly used method to create a test. The basic steps are typically recorded and the test later undergoes improvements in order to suit the needs of the testing process.

Object Repositories

Learn About QTP Recording Modes

QTP provides 3 modes of Recording:

  • Normal
  • Low-level
  • Analog

Though only the normal recording mode gets used most of the time, it is important to know the others too, as the knowledge about the same can come in handy when the need arises for them.

Normal Recording mode: The default recording method is always the normal mode. In all our previous articles when we said record, we meant the normal mode. As we know this method uses the model of Test Objects and Runtime objects to learn and act on the AUT.

Analog Recording mode: Records the exact mouse and keystrokes that the user performs in relation to either the screen or the AUT window. The steps that are recorded using this method cannot be edited.

The way this usually gets represented in the code is:

Window/app.RunAnalog “Track1”

One scenario in which this type of recording can be used is when we are trying to capture a signature.

Low-Level Recording mode: This mode records the co-ordinates in the application where the operation is performed, irrespective of whether QTP recognizes the specific Object or Operation.

Some important points to note about these different modes are:

  • In the middle of recording, we can switch to Analog/Low-level mode, finish the task required and go back to normal recording.
  • Analog and low-level recording modes require more memory space than the normal mode.
  • Mouse movements are not recorded in low-level recording mode.
  • Switch to Analog mode is only available during recording and not during editing
  • The test that is recorded in analog mode will fail if it is run after changing the screen resolution.

The menu option to change the Recording Mode is:

Change recording mode in QTP

Object Spy

Object Spy is an extremely helpful tool that QTP has to view the properties and operations of an object in the AUT. The prerequisite to using this tool is that the AUT has to be opened.

The Object Spy can be accessed by using “Tools -> Object Spy” or directly by clicking on the below

icon 11

Object Spy in QTP

It is also available from the Object repository and Object Repository Manager windows.

When Object Spy is launched, this is how its interface looks:

Object Spy launched in QTP

By clicking on the pointy hand you can point to any object whose properties you wish to examine.

This is how it displays the properties:

Object Spy properties

As you can see, it shows all the properties of the object and the corresponding values. It shows the object hierarchy. There is also an ‘Operations’ tab which when clicked displays all the operations that can be performed on the test object.

Object Spy operations

The spy not only displays the properties but also has a provision that lets the users add a certain object to the OR.

You can do that by clicking on the OR icon with a + in it.

Object Repository

In one of the previous articles, we talked about how an OR is like a warehouse where all your objects are stored.

OR has the list of Objects that QTP learned during the recording process and the class to which they belong. It stores a set of properties that uniquely identify the Object (description) and also names the object for the sake of identification in our test, based on its most prominent feature.

The objects that are acted upon during the record get automatically added to the OR. Alternately, the user can add additional objects on a need basis. This can be done directly from the OR window or from Object Spy.  (Ctrl+R or Resources -> Object Repository or click on the icon.)

There are two kinds of Repositories:

  • Local
  • Shared

Every time a test is created we see that a call to Action 1 is the only statement by default. We can add other actions and call them as needed. So, for every action QTP creates its own local repository by default.  It contains objects that are related to that particular action.

Conversely, the user may decide to use a common repository for multiple actions, in which case, this repository is to be associated with the actions and all of them can share the objects that it contains. This can be done using the “Object Repository manager”.

The objects can be exported from a local repository into a shared one to maintain a single location for all the objects.  Also, a shared repository is read-only at the activity level and any changes to it have to be made via the “Object Repository manager”.

The repository to be used for action has to be specified in the action properties.

How it is done is practically something we will look into using some examples later on.

Some of the important points to note here are:

  • Even though there is a single shared repository for all actions, every action will have its own local repository whether the test uses it or not. For example, for test 1 if there is Action 0, Action 1, and Action 2 and there is a shared repository ORShared, there will be local repositories OR0, OR1, and OR2 by default. However, if all actions use one shared repository, then the local OR will be empty.
  • If a local OR and Shared OR have an object with the same name, then the action will consider the object in its local OR.
  • There can be more than one Shared OR’s associated with the same action. If Shared OR1 and Shared OR2 have one object named OBJ1 each and if the action calls for OBJ1 then the order in which the shared ORs were associated will be considered. This means that if the Shared OR1 was first associated then the OBJ1 from Shared OR1 will be taken into account.

It goes without saying that having a Shared Object Repository is more efficient as it helps in easy maintenance and you can use one object description across multiple actions.

Here we covered some of the key concepts that will enable us to understand and create better QTP Tests. In my opinion, information on Actions, Active screen, and a rather impromptu but important password encoder tool are a few more aspects that we will have to cover before we move to more advanced topics.

This is tutorial #8 in our comprehensive online QTP training series. There are 30 QTP tutorials in this online QTP training. We hope you will benefit from these to learn about QTP in detail.

=> Visit Here For The QTP Training Tutorials Series

Related

Best Iptv Service Provider 2023 With 40k+ Channels And 150k+ VOD . Hurry Up

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • IPTV List: Best iptv lista 2023
  • IPTV Premium: Best Premium IPTV Service Provider List And Benefits
  • Nikon IPTV Review: Over 10,000 Live Channels for $12/Month
  • Iptvwings. Com Review: +18000 Live IPTV Channels ,+70000 Movies, +40000 TV show For $15/1 month
  • IPTVUNO Review: More Than 16000 Live TV channels, 55,000 Movies & VOD For $15/Month

Recent Comments

  1. IPTV List: Play lista iptv 2022 - Iptv Assist on Best IPTV Player in 2023 for Watching Live TV
  2. Cola IPTV – Over 18,000 Live Channels for $12/Month - Iptv Assist on FileLinked – How to Install on Firestick/Fire TV and Android Devices
  3. Cola IPTV – Over 18,000 Live Channels for $12/Month - Iptv Assist on 50+ Best IPTV Service Providers for Streaming Live TV 2023
  4. XoomsTV IPTV – Over 11,000 Channels & VOD for Under $13/Month on Best VPN for IPTV in 2023 and How to Install on Firestick/Android
  5. Voodoo Streams IPTV Review – Over 12,000 Channels for $11/Month - Iptv Assist on Dynasty TV IPTV Review – Over 6,000 Channels for $10/Month

Archives

  • January 2023

Categories

  • Activate
  • Agile Testing
  • Alternatives
  • Android
  • APK
  • Apple TV
  • Automation Testing
  • Basics of Software Testing
  • Best Apps
  • Breakfast Hours
  • Bug Defect tracking
  • Career in Software Testing
  • Chromebook
  • Chromecast
  • Cross Platform
  • Database Testing
  • Delete Account
  • Discord
  • Error Code
  • Firestick
  • Gaming
  • General
  • Google TV
  • Hisense Smart TV
  • HOW TO
  • Interview Questions
  • iPhone
  • IPTV
  • IPTV Apps
  • Iptv Service SP
  • IPTV Services
  • JVC Smart TV
  • Kodi
  • Lg Smart TV
  • Manual Testing
  • MI TV
  • Mobile Testing
  • Mod APK
  • newestiptv.com
  • News
  • Nintendo Switch
  • Panasonic Smart TV
  • PC Apps
  • Performance Testing
  • Philips Smart TV
  • PS4
  • PS5
  • Python
  • QA Certifications
  • QA Leadership
  • QA Team Skills
  • Quality Assurance
  • Reddit
  • Reviews
  • Roku
  • Samsung Smart TV
  • Screenshot
  • Selenium Tutorials
  • Sharp Smart TV
  • Skyworth Smart TV
  • Smart TV
  • Soft Skills For Testers
  • Software Testing Templates
  • Software Testing Tools
  • Software Testing Training
  • Sony Smart TV
  • Sports
  • Streaming Apps
  • Streaming Devices
  • Tech News
  • Test Management Tools
  • Test Strategy
  • Testing Best Practices
  • Testing Concepts
  • Testing Methodologies
  • Testing News
  • Testing Skill Improvement
  • Testing Tips and Resources
  • Toshiba Smart TV
  • Tutorials
  • Twitch
  • Types of Testing
  • Uncategorized
  • Vizio Smart TV
  • VPN
  • Web Testing
  • What is
  • Xbox
©2023 Iptv Assist | Design: Newspaperly WordPress Theme