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 #3 – Adding Standard Steps From Keyword View

Posted on January 22, 2023

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

This is the tutorial #3 in our QTP Training series. 

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 )

 

In the last tutorial, we saw how to work with the Keyword View.

Today’s article is going to be about adding steps to a QTP test from the keyword view. Before we go about adding the steps, let’s see what kind of steps we can add.

Adding Standard Steps From Keyword View

Adding Standard Steps from Keyword View

#1) Standard Step: A standard step is anything that acts on an object. For example, a set operation on an edit box with a particular value or selecting a value from a list box.

#2) Checkpoint Step: Checkpoint is a step in a QTP Test that compares an expected value of a specific property/state of an object with the actual value. This is a kind of validation that QTP provides to the users to make sure their AUT is working as intended.

So, when this kind of a step is inserted, QTP performs a check during this step execution and if expected and actual values are the same, the checkpoint passes or else it fails. An example of a checkpoint is if in an application a checkbox is supposed to be ON after its selected or a particular name that a text on the screen should be, etc.

QTP has 10 checkpoints that it provides the users with. Apart from these, the tester can verify and validate any conditions by programmatically writing them. All checkpoints will be dealt with in detail in the upcoming articles.

#3) Output Value: As the name implies an output value is nothing but a variable that stores the outcome of a particular step in a test. This value can be used subsequently as an input for another step. This value is only available for the time period of a test run after which it gets reset. This topic will also be detailed out shortly.

#4) Comments: Any step that is non-programmatic, won’t be executed, but is put in the script to increase readability is a comment.

#5) Conditional and Loop statement.

#6) Other: These are the kind of statements that help in designing the programming logic. Some examples are sync statements, writing into test results, etc.

Let’s start by adding a standard step. For our convenience, I am going to explain only the use of the item, operation, value, and documentation columns in the keyword view. Though there are two more columns, they are seldom used.

Inserting a step is the first part of adding a line to a program. A step merely adds a blank line to your test. It is up to the tester to define the step and to add details to the step. The details include what items to act on, what operations to perform, what value to assign, etc. If it’s a new test, then any step we are trying to add becomes the first step.

From the menu main, select Insert -> New Step after clicking anywhere in the keyword view.

Add new step in QTP keyword view

Another way is to right-click on an existing step and select Insert new steps from the menu.

Add new step in QTP keyword view 2

Both of these options result in the addition of a new line after the selected step. If a container object is selected while adding a new line, the new step gets added as a sub-step. If a last-level object is selected, then the new line gets added as a sibling.

Here is what the new line looks like. The new line added is nothing but a skeleton that can be defined as required.

Add new step view

So, the first thing you see in a newly inserted line is a “Select an item” dropdown.

Newly inserted line in keyword view

Given the fact that every operation needs an object to be performed on, this is inevitable. As already discussed, items can be anything: a Test object, Statement, Utility Object or comment. Test objects that are contained under a Container Object are displayed here.

Therefore, according to our example, Agent Name, OK, the Password is displayed in the list when a new step is to be added while clicking on or under the sub-level steps of the Login Dialog.

Object Repository:

If anything other than the items listed is required by the user, then there is an option to select the same from the Object Repository. Now, this is the first time in our articles that we have encountered the word Object Repository. So, what is it really? When we try to put it simply, an Object Repository is what its name suggests.

It is a place or more like a database where all the Objects in a test are stored. This is what happens when the user chooses the “Object Repository” from the list.

Object Repository view in QTP

So an item can be selected either from the list displayed or from the Object repository. The next thing is to define the operation to be performed on the selected object. Click on the Operation column and a list of operations that can be performed on the selected object will be displayed.

This list is dependent on the type of object selected. For instance, a dialog object will have different methods available than when an Edit box is chosen.

Choose the desired operation

Select object in keyword view

The next column is the Value. As we already know, this column is the argument for the operation to be performed on the selected item. Upon clicking on this column, the arguments are displayed as shown below:

Argument value

If more than one argument is required to carry out the said operation, all the arguments will be displayed as multiple cells in the Value column.

The type operation on the ‘FlyFrom’ item needs a keyboard input. When the icon in this column is displayed the following dialog is displayed that helps the user to configure this value.

As you can see from the window above, the value to be entered in this field can either be a “Constant” in which case the constant value can simply be typed in the text box and then followed by clicking the “OK” button in the window.

Or it could be parameterized i.e., it could be picked up from a location in the datasheet, a random number or an environment variable. How to parameterize a value for an argument will be discussed later on in detail.

Value configuration option

In our example, I am writing “Test” in the constant field and clicking OK and here is how the line generated looks:

Argument value 1

It should be noted that the “Documentation” field gets auto-populated with the description pertaining to the operation performed on the item selected.

Conclusion

So, that concludes the topic, “Adding a standard step to a test from the Keyword View”. We have discussed the various kinds of steps that can be added from the Keyword view and explored the adding of a Standard Step in detail.

We’ll have a couple of more articles on the QTP keyword view. In the upcoming articles, we will see how to add other kinds of steps, add conditional and loop statements and how the Keyword view can be used to modify/delete the test steps.

=> Visit Here For The QTP Training Tutorials Series


We need your feedback to improve this QTP training article series. Let’s make it more interactive. Add your questions in the comments below. Join our email newsletter as there are many more articles to come in this series.

Believe us this will be the most comprehensive QTP training article series you’ve ever seen online!

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