VaasuVyboina Absent Member.
Absent Member.
287 views

Can i write descriptive program for dojo framework in UFT v12

Hi 

Iam using trail version of UFT12 , here i need to work with dojo elements. I have used the below script for executing dojotree.

 

Browser("name:=mitsindia").Page("title:=mitsindia").DojoTree("html id:=dijit_Tree_1,html tag:=DIV").Expand "All Searches"

 

It did not work.

 

When i have recorded the script

 

 Browser("mitsindia").Page("mitsindia").DojoTree("dijit_Tree_1").Expand "All Searches"

 

Above script worked. But i want to go for descriptive programming. Please help.

 

Regards,

Vaasu.

 

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