Absent Member.
Absent Member.

Silverlight objects properties for descriptive programming

We're using UFT 11.5 and Silverlight 5 and we need to create scripts for a web application integrated with silverlight.


We don't have a problem with Record and Play however, we are creating pages, therefore Page Name, some properties and stuff are changing.



Browser("Browser").Page("Page 1").slvWindow("SilverLightWindow").slvObject("Click Button").Click

Browser("Browser").Page("Page 2").slvWindow("SilverLightWindow").slvObject("Click Button").Click


We're thinking of using descriptive programming :
Browser("Title:= Browser.*).Page("Name:= Page.*).blahblahblah


But we're not able to distinguish any property that could be used for silverlight, all other properties available when using object spy is not working or atleast an error stating that object was not found was encountered.


In addition, we've also tried using virtual object but whenever an object was added, it's not possible to record since an error was also encountered.


Any ideas? Thanks in advance!


- R


Tags (1)
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.