06-09-2011, 03:25 AM
I want to know how to write an If - Then statement based off of checking if something is editable or read only. How do I do this exactly?
What is wrong/missing from this...
What is wrong/missing from this...
Code:
[b]If [/b]Browser("Pavilion8 Console 3.7.2").Page("Pavilion8 Console.7.2").Frame("ControllerConfiguration2").WebEdit("CV1 Desired Coefficient").CheckProperty "class", "dashboard_editable" [b]Then[/b]
Reporter.ReportEvent micPass, "APC 15: Is correctly set to editable"
[b]Else[/b]
Reporter.ReportEvent micFail, "APC 15: Is correctly set to read only"
[b]End If[/b]