Get the count of object using GetObject keyword

You can easily get the count of a listed product from your site/application in your test case. For example, get the product count of a keyboard listed on an e-commerce page. 

To do this, create a test case using the Opkey web recorder and add the keyword 'Getobject' count from the Opkey keyword library. This keyword. will get the count of objects according to the mentioned properties.

1. Record a test case using Opkey web recorder 

2. Now add a step and select GetObjectCount keyword.

3. Now add the Input Parameters.

4. Click on run icon to execute your case case.

5. Add details and click on finish to start execution.

6. You will get the Object Count in the Output Data

Now you have successfully learned how to use get the Object Count in a test case by using a keyword.

Explore more Opkey features by clicking Here. 

To learn more about using keywords in Opkey, you can visit and enroll in our Opkey series course.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article