07-21-2009, 04:11 PM
Hi Martina,
try this script for click button
Eg:-
using the descriptive programming
store it in function library
call the sub procedure in your test
click_button()
i am using some browser script for the example only , implement ur script like this
kindly let me know if u have any query
Regards
Bala
try this script for click button
Eg:-
using the descriptive programming
Code:
Sub click_button()
Dim browser_session
If Browser("name:=google).page("index:=0" ,"name:=inbox").Exist Then
Set browser_session = Browser("name:=google).page("index:=0" ,"name:=inbox")
Else
Set browser_session = Browser("name:=google).page("index:=0" ,"name:=outbox")
End If
browser_session.SendKey ENTER
end sub
call the sub procedure in your test
click_button()
i am using some browser script for the example only , implement ur script like this
kindly let me know if u have any query
Regards
Bala