05-28-2013, 02:04 AM
(This post was last modified: 05-28-2013, 02:13 AM by qtpbeginner78.)
Thanks ssvali for your reply.
I found a way to handle it. Below is the code i use
1. I had to set the focus on the webedit so it will pop-up the calendar control
2. Select the current date
Hope this will help others too
I found a way to handle it. Below is the code i use
1. I had to set the focus on the webedit so it will pop-up the calendar control
Code:
Browser("br_xyz").Page("pg_abc").WebEdit("we_EndTime").FireEvent("onclick")
2. Select the current date
Code:
Browser("br_xyz").Page("pg_abc").WebElement("innertext:=" &Day(Date),"html tag:=DIV").Click
Hope this will help others too