Option explicit
Dim v_url,br_d ,pg_d , my_pg , web_d
v_url="http://www.chasestudentloans.com/student-loan-resources/budget-calculator.html"
systemutil.Run"iexplore.exe",v_url
wait 4
Set br_d = description.Create() ' create empty object of type description
br_d("title").value = "Budget.*"
Set pg_d = description.Create()
pg_d("title").value = "Budget.*"
set my_pg = Browser(br_d).Page(pg_d)
Set web_d = description.Create()
web_d("name").value = "tution"
web_d("html tag").value = "INPUT"
web_d("type").value = "text"
If my_pg.WebEdit(web_d).Exist(2) Then
msgbox "present"
else
msgbox "not"--------Qtp always falls into else loop , not able to figure out why it is not able to recognize webedit field , although I have used correct properties.kinldy help
End If
--
Mayuri Gupta
US - Secaucus
--
You received this message because you are subscribed to the Google Groups "QTP eLearn Team" group.
To unsubscribe from this group, send email to qtp-elearn-te...@googlegroups.com.
Visit this group at http://groups.google.com/group/qtp-elearn-team?hl=en-US.