Saturday, 18 February 2017

UFT: Entering Data in WEBELEMENT

Dim owebele

Set owebele=description.Create
owebele("micclass").value="WebElement"
owebele("html id").value="lbl_txt"
'owebele("html tag")="SPAN"

set ole=Browser("Rediffmail Free Unlimited").Page("Rediffmail Free Unlimited").ChildObjects(owebele)

msgbox ole.count

If ole.count=1 Then
ole(0).object.innertext="+1"
   
End If

No comments:

Post a Comment

Spring Boot : Exception Handler 14