Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to validate mandatory filed (*) in web application using
#2
Not Solved
get all the objects name using child object methods.
get property of each one using getroprop
verify for "*"

Code:
str = Browser("My Account - Manage Subscripti").Page("My Account - Manage Subscripti").WebElement("* First name").GetROProperty("innerhtml")
For i=1 To Len(str)
    b= Mid(str,i,1)
If b="*" Then
msgbox "mandatory field"
End If
Next

Hope it helps..
Reply


Messages In This Thread
RE: How to validate mandatory filed (*) in web application using - by ADITI1992 - 09-13-2015, 12:54 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT 14.53 not able to record steps of web application rupesh doshi 3 2,865 10-10-2019, 01:50 PM
Last Post: rupesh doshi
  How to identify SVG elements from web application Sanjana1987 0 1,945 02-07-2017, 08:30 AM
Last Post: Sanjana1987
  Not able to set value in application web edit box tanuj dewangan 4 3,701 07-29-2016, 03:58 PM
Last Post: harshadevadas
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,908 09-13-2015, 12:06 AM
Last Post: ADITI1992
Smile Need to validate a .txt file and .jpeg image. aman8604 0 2,342 04-09-2015, 11:33 AM
Last Post: aman8604

Forum Jump:


Users browsing this thread: 1 Guest(s)