10-18-2011, 12:51 AM
I tried using exist, but it still is not working. It seems the active IE is not the pop up, but the original IE. Text is still populating in some field in the other IE and not the popup. When the if statement is taking about 20 secs then it goes onto the next, waits another 20 seconds, then sets the description in the wrong IE window. Any other suggestions?[/quote]
Code:
'Add User, Date and Time in Description Field
Browser("Certificate Error: Navigation").Page("Page_13").Image("update_01-sel").FireEvent "onmouseover"
Browser("Certificate Error: Navigation").Page("Page_13").Image("update_01-sel").Click
If Browser("Browser").Page("Page_9").WebEdit("desc_2").exist then
Browser("Browser").Page("Page_9").WebEdit("desc_2").Set sDescriptionText
End if