Micro Focus QTP (UFT) Forums

Full Version: DP for WebSite Frame-WebElement
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Ankur,


i successfully wrote DP code for Browser & Page
Code:
var_1("...").value = "Browser"
var_1("....").value = "page"
[color:black] [/color]

But now i have a Frame - WebElement before WinButton or WinEdit.

I tried to write a DP for Frame as

Code:
Set var_3 = description.create
var_3("micclass").value = "Frame"
var_3("name").value = "nav"
and if i use it as

Code:
B(var_1).P(var_2).Frame(var_3).WinButton("XXX").Click
Also tried:
Code:
var_3("class name").value = "Frame"
Still not working and showing Error for FRAME.


can you please help me in that?


Thanks
Shrinivas