Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with If - Then statement
#3
Solved: 10 Years, 9 Months, 3 Weeks ago
Hi,

Hope you forget to give the condition...

If (Condition) = true then

Statement....

Else

Statement

End If


Code:
If Browser("Yahoo! Mail: The best").Page("(9 unread) Yahoo! Mail,_3").WebElement("Offline").GetROProperty("value",Offline)=False Then
Browser("Yahoo! Mail: The best").Page("(9 unread) Yahoo! Mail,_3").WebElement("Offline").Click Else
Browser("Yahoo! Mail: The best").Page("(9 unread) Yahoo! Mail,_2").WebElement("Available").Click
End If

Stephen
Reply


Messages In This Thread
Help with If - Then statement - by pipsonian - 05-19-2009, 10:37 PM
RE: Help with If - Then statement - by stephenlb4u - 05-28-2009, 06:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)