Highlighted
Absent Member.
Absent Member.
1295 views

UFT support on Silverlight application for identifying the objects

Hi,

I have installed a trial version of UFT with silverlight addin. When i record and check the objects are identified based on the position(x,y axis) and not on Name/ID/any identifier of the object.

I am attaching a current working sample below

Browser("Titleheader).Page("PageName").SlvWindow("ProjectConsole").SlvObject("RepeatButton").Click 9,6

I want the object to be identified based on any of the identifier or text value. Can any please help.

Thanks in advance.

Tags (1)
0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

When loading UFT ensure that you select the WPF and SIlverlight add-ins. You may also need Web selecting too if using a web browser to run your AUT.

Start your Silverlight application/web page after UFT loads. You should now be able to identify objects.

0 Likes
Highlighted
Absent Member.
Absent Member.

If I load WPF-Sylverlight add-in I cannot open IE browser. Is there anything need to be done with UFT or IE?

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.