Contents
How do I count links in UFT?
ramprasad6
- ramprasad6. Answered On : Feb 1st, 2011.
- For counting the number of links in webbasedset obj=description.create()obj(“micclass”).value=”Link”set Links=browser().page().childobject(obj)NumofLinks=Links.count-1for i=0 to Links(count)-1������ Links(i).select i+1Next������
How can I get my property value in UFT?
GetROProperty returns the current property value of the object in the application during the test run. You can use the GetTOProperty method to retrieve the values of only those properties that are included in the test object description.
How do you use ChildObjects in UFT?
ChildObjects Method
- The method returns the child objects that fit the description specified (using the Propertiesobject).
- When an object is retrieved by the ChildObjects method, UFT accesses it directly in the application and does not save a description for the object.
What is UFT object identification?
You use the Object Identification Dialog Box to configure the mandatory, assistive, and ordinal identifier properties that UFT One uses to learn descriptions of the objects in your application, and to enable and configure the Smart Identification mechanism.
How is descriptive programming used in UFT?
Descriptive programming is used to execute operations on an Object in the AUT whose definition is not stored in the Object Repository. Using this mechanism, you can bypass identification from the Object Repository and supply the Object Description in the statement itself.
What is bitmap checkpoint?
Bitmap Checkpoint helps a user in checking the bitmap of an image or a full web page. It does a pixel by pixel comparison between actual and expected images. Image Checkpoint enables you to check properties like source file location of a web image.
What are the types of licenses available in UFT?
Types of UFT License
- Seat License: This license is tied to the computer on which it is installed. The trial or a demo license of UFT is a seat license which has a validity of 30 days.
- Concurrent License: This is also known as floating license.
How do you call a function library in UFT?
Associate a function library with an application area
- In UFT One, open your application area and click the Function Libraries button on the sidebar.
- In the Associated function libraries list, click the Add button .
- Select the function library you want to associate with your application area and click Open.
How do I use WaitProperty in UFT?
Unlike the Exist method, WaitProperty enables you to synchronize the test run based on a specific object property. For example, instruct UFT to wait for a particular string to appear in a static text control: ‘ Wait up to 30 seconds for the string “Ready” to appear in the “Status” text control.
What is MicClass in UFT?
micClass refers to the predefined classes in QTP. The values you can assign can be webbutton, weblist etc.
What is micClass in UFT?
Are there any web table methods in UFT?
While automating web based application every automation QA has to deal with various kind of validation on web tables.The Web table class in UFT provides various methods to work on a web table. In this blog post, I will show you various useful web table methods in UFT with examples.
How to use dictionary object in UFT with examples?
A dictionary object in UFT is very much similar to an array. Unlike an array index, there is a unique key associated with every item of a dictionary object. Using the Key name, the associated value can be called anywhere in the script. What You Will Learn? [ hide]
How are child objects created in UFT one?
In the run results, square brackets around a test object name indicate that the test object was created dynamically during the run session using the ChildObjects method or a programmatic description. For details on the ChildObjects method, see the Common Methods and Properties section in the UFT One Object Model Reference for GUI Testing.
How to get the child object in QTP?
The approach uses Description object, which contains a ‘mask’ for objects we would like to get. ChildObjects returns the collection of child objects matched the description ( “micclass” is “Link”) and contained within the object (Page ( “Google Labs” )).