There are 10 fields present in the application out of which 7 fields are mandatory. The Mandatory fields have (*) symbol as Web Element are present after the filed. Eg. First Name * (First Name is Web Element). Now how to validated * symbol is present after the mandatory fields.
How to validate mandatory filed (*) in web application using
|
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") Hope it helps.. |
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
UFT 14.53 not able to record steps of web application | rupesh doshi | 3 | 3,158 |
10-10-2019, 01:50 PM Last Post: rupesh doshi |
|
How to identify SVG elements from web application | Sanjana1987 | 0 | 2,093 |
02-07-2017, 08:30 AM Last Post: Sanjana1987 |
|
Not able to set value in application web edit box | tanuj dewangan | 4 | 4,024 |
07-29-2016, 03:58 PM Last Post: harshadevadas |
|
Need to Validate Text filed is blank after clicking on the Text box | balak89 | 3 | 5,303 |
09-13-2015, 12:06 AM Last Post: ADITI1992 |
|
![]() |
Need to validate a .txt file and .jpeg image. | aman8604 | 0 | 2,452 |
04-09-2015, 11:33 AM Last Post: aman8604 |
Users browsing this thread: