Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding days when you have a calendar Icon
#9
Not Solved
Sorry to bother you again!
I don't get it to work.

If I add a date manually, e.g. 12th of May the code looks like:

Code:
Browser("Njord Web Portal - Update").Page("Njord Web Portal - Update").Image("...").Click
Browser("Njord Web Portal - Update").Page("Njord Web Portal - Update").Link("12").Click
I have written the following code due to your answer: (I might have done it in a wrong way)

"mydate=day(now)

Code:
Browser("Njord Web Portal - Update").Page("Njord Web Portal - Update").Image("AccessKey")
(Access key i found out with the Object Spy function)

Variable = Dateadd "d", 1, mydate
msgbox.variable

I have also tried to set in today's date (02/05/2011) but it is the same result:
I receive the following error message, see below.


Attached Files Image(s)
   
Reply


Messages In This Thread
RE: Adding days when you have a calendar Icon - by Ann Hagglund - 05-02-2011, 04:42 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP not recognizing date calendar kQTPs 1 3,463 12-20-2017, 11:21 PM
Last Post: harikrishna
  Pages and Frames adding _1, _2, _3... zunebuggy 1 1,513 05-30-2017, 12:17 AM
Last Post: Vichu M J
  Adding negative amount in webedit Rose 1 2,012 06-30-2016, 09:34 PM
Last Post: babu123
  Adding data into rows that add dynamically with setcelldata azar81 4 5,671 04-13-2015, 05:24 PM
Last Post: vidya2k2
  select a date from pop-up calendar Dertjon 1 5,610 05-13-2014, 02:29 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)