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 #5 – Moving Steps and Dealing with Breakpoints

Posted on January 22, 2023

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

QTP Training Tutorial #5 – Moving Steps, Deleting Steps, and Dealing with Breakpoints in Keyword view. This is the fourth and the last article on QTP Keyword view features.

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

We are almost approaching the end of the sessions concerning the ‘Keyword View’ of QTP. How it looks, what it does, what we can do with it – are some of the aspects that we are trying to unveil in the course of our articles. Understanding the view, adding steps, and conditional statements are already dealt with.

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 )

 

=> Click Here For The QTP Training Tutorials Series

Moving Steps and Dealing with Breakpoints

What You Will Learn:

  • Other Features of Keyword View
    • Moving Steps
    • Delete Steps
    • Adding Breakpoints to the Test From Keyword View
    • Delete Breakpoints
  • Conclusion

Other Features of Keyword View

Today you’ll learn the remaining Keyword View features such as Moving steps, Deleting steps and dealing with Breakpoints.

Just like always, we will use the sample test that we have been working with i.e. The login operation on the Flight sample application.

Moving Steps

#1) The first and the simplest way – the Keyword view acts like any text modification application when it comes to cutting, copying, and pasting the steps. Thus, all clipboard shortcuts are applicable.

  • Ctrl+C – Copying
  • Ctrl+V – Moving
  • Ctrl+X – Cut

#2) The next way is by choosing the menu option. To use this, select the step that needs to be moved and choose the following menu choices:

  • Edit -> Cut
  • Edit -> Copy
  • Edit -> Paste

#3) The other method is dragging and dropping.

Any of the above methods can be used to move steps. However, there are a few ground rules:

  • The loop or condition statements can only be moved in blocks. For example, for an ‘if…else’ statement you cannot just move the else part.
  • In a step where an item is a child object and the user decides to move it, there is one of the two scenarios that comes up. Either the step gets moved under the same parent or to a different parent. If it is moved under the same parent, it simply comes up in the new position chosen. But if it is moved under a different parent, the parent gets duplicated. Let’s see this pictorially:

Moving steps in QTP

I am going to move the step where we enter the agent’s name (the one highlighted above) under the ‘Flight Reservation’ parent object. Let’s note that the parent object for ‘Agent Name’ is Login. I simply dragged the step to be the last one. This is how it appears:

Moving steps by dragging in QTP

Earlier in the introduction sessions, we discussed that we can have multiple actions in a test. Let us see how a test with multiple actions would appear in the keyword view and how this view can be used for these actions as desired.

To achieve this, I am simply going to convert all the steps under the parent object ‘Flight Reservation’ in our above example to appear under another action. Adding actions, steps to actions, etc., are going to be discussed in detail as we move on in our sessions.

Action 1:

Moving steps in QTP action 1

Action 2:

Moving steps in QTP action 2

As you can see in the test flow pane, the sequence in which these actions are executed is displayed.

QTP test flow pane

If I want Action 2 to run first followed by Action 1, the Keyword view would let me do that by allowing me to drag and drop the actions to the necessary position.

With this, we have covered all the information necessary to move steps/actions/blocks within a test using the Keyword view.

Delete Steps

Deleting steps from QTP could not have been simpler. All you need to do is choose the step that you do not want in the test and simply hit the “Delete” button on the keyboard or right-click on a step and select “Delete” from the menu or select a step and choose “Edit->Delete” from the main menu.

If a step that has sub-steps defined for it is chosen for deletion, then the following message is displayed to the user:

QTP delete steps

This means that if a step with sub-steps is chosen for deletion, then all the sub-steps get deleted too.

That’s all we have to discuss about deleting steps.

Adding Breakpoints to the Test From Keyword View

Often, during execution, there might be one or more things that you want to key an eye out for and observe what kind of changes are happening. This might be to see the state an Object gets to or to note a value a variable takes etc. A facility that helps us do just that is a Breakpoint.

It is basically a certain point in your test where you want to pause the test run and observe or obtain certain information about your test. Most times this feature makes debugging easier. Now that we know what a breakpoint is, we will try to understand how to add them to our tests from the keyword view.

All you need to do is, click on the left margin at the particular step where you need to pause the test. The addition of a breakpoint is represented by a red dot in the left margin corresponding to the step where a break is added.

Here is how it looks:

Adding breakpoints in QTP

Selecting a step and pressing F9 on the keyboard also results in the addition of a breakpoint.

Insert remove breakpoint

Lastly, the menu option “Debug -> Insert/Remove Breakpoint” can also be used.

So, once a breakpoint gets inserted, the test will run until the step where it is inserted normally and will come to a halt before executing it. At this point, the tester can perform the required observations for which the program was stopped and continue to run it by choosing the “Run” option one more time from the main menu whenever he is ready.

If we add a breakpoint from the keyword view, the same is displayed in the Expert view as well at the front of the line corresponding to the row to which it gets added.

Breakpoints in expert view

Vice versa is true too if you add a breakpoint from the Expert view, as it gets reflected in the keyword view.

As simple as it is to insert a breakpoint, it is even simpler to delete once its purpose is served or when it is no longer required.

Delete Breakpoints

Clicking one more time on the line where the breakpoint already exists will result in its deletion. Keyword F9 or the menu option “Debug -> Insert or Delete Breakpoint” can be chosen on a step with a breakpoint and it gets removed.

Conclusion

This concludes the discussion of all the properties and capabilities of keyword view in detail. This view is the most readable one among the two and once all the features are understood, we can use it as effectively as possible to make the tests robust.

=> Visit Here For The QTP Training Tutorials Series

The coming QTP tutorial will deal with how to record a new test and what are the factors that determine the success of a being able to do so.

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