This forum has been great to me. I m back again with yet another question. This time with .Object method.
I have 4 validation to do on label element and associated form control (input field). Page has more than 10 input fields and associted label. I have written script for each set of the fields. Is there any way to get all those script in a function to be tested on Label(webElement) and input fields(webEdit,weblist, radio, checkbox).
Set Label = Browser().Page().WebElement().Object
If Label.Exist() Then
Call Validation Script
Tried this code and it is not working. The error says Object required.
Thank you so much guys. Appreciate your inputs.
Object.exist doesnot work and that was the problem. So since I have to check HTML properties inside the function, I m passing WEbElement().object and using webelement().exist check outside the function before calling it. Problem Solved. This forum is GREAT!!! Kudos...