Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to input a dynamic date in the date field
#4
Solved: 11 Years, 4 Months ago
Hi ,

Use Date instead of Now

Try with the below code.
Code:
temp=(DateAdd("YYYY",1,Date))
Mydate=replace(temp,"/",".")
Browser("Browser").Page("Page").WebEdit("SearchWidget_1_1{actionFo_2").Set Mydate
Reply


Messages In This Thread
RE: How to input a dynamic date in the date field - by sreekanth chilam - 02-12-2010, 01:30 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 909 07-01-2020, 11:32 AM
Last Post: Alaguraja
  getting the value from the field learning 0 1,046 03-19-2019, 09:13 AM
Last Post: learning
  How to append date to xls file using qtp datatable methods? yona34 1 1,656 05-04-2018, 08:56 PM
Last Post: Ankur
  QTP not recognizing date calendar kQTPs 1 3,613 12-20-2017, 11:21 PM
Last Post: harikrishna
  How to get input from the user in QTP? shanthiK 10 18,588 08-07-2017, 11:34 PM
Last Post: zunebuggy

Forum Jump:


Users browsing this thread: 4 Guest(s)