Micro Focus QTP (UFT) Forums
webelement to handle latest ajax menu - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: General (https://www.learnqtp.com/forums/Forum-General)
+--- Forum: Posting Guidelines/Disclaimer (https://www.learnqtp.com/forums/Forum-Posting-Guidelines-Disclaimer)
+--- Thread: webelement to handle latest ajax menu (/Thread-webelement-to-handle-latest-ajax-menu)



webelement to handle latest ajax menu - satya_251 - 12-20-2011

Public Function setWebElement(strWebElementText)
Set oWebElement = Description.Create()
oWebElement("micclass").Value = "WebElement"
oWebElement("attached text").Value = ".*" & strWebElementText &".*"
Set setWebElement = oWebElement
End Function