For Clicking on Calendar dates from Calendar,How do we capture it in Object Repository and write scripts?

Showing Answers 1 - 2 of 2 Answers

akj

  • Sep 19th, 2006
 

Lets suppose u want to click/capture calender dates e.g 14 sep 2006 from calender from any application

First u have to add required date in object repository manually and then date would be added as link in your repository.

Now that specific(14 sep 2006) date has been added in repository, for capturing of this link from calender u have to write a following code:

Browser("xyz").Page("abc").link("14").click

  Was this answer useful?  Yes

Deepak KN

  • Oct 11th, 2006
 

If Date field is editable in you application, try this below code to select date, insted of clicking on calender icon

we can directly insert date in to date field

Dim pStdt

pStdt = "04/19/2006"

Set Start_obj = Browser ("XYZ").Page ("ABC").Frame ("right").Webedit("txtStartDate")

Start_obj.object.document.frmPeriodMaintenence.txtstartDate.value =pStdt

Regards

Deepak

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions