Variable name in descriptive Programming
If Browser("Login | Salesforce").Page("title:=.*Salesforce.*").WebElement("innertext:="&Acctname,"html tag:=SPAN").Exist(10) Then
Reporter.ReportEvent micPass,"WebElementCheck","Element Apears"
Else
Reporter.ReportEvent micFail,"WebElementCheck","Element Apears"
End If
If Browser("Login | Salesforce").Page("title:=.*Salesforce.*").WebElement("innertext:="&Acctname,"html tag:=SPAN").Exist(10) Then
Reporter.ReportEvent micPass,"WebElementCheck","Element Apears"
Else
Reporter.ReportEvent micFail,"WebElementCheck","Element Apears"
End If
No comments:
Post a Comment