Micro Focus QTP (UFT) Forums
DP for WebSite Frame-WebElement - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: DP for WebSite Frame-WebElement (/Thread-DP-for-WebSite-Frame-WebElement)



DP for WebSite Frame-WebElement - shriqtp - 06-11-2009

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