Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need information on disabled text box.
#1
Solved: 11 Years, 3 Months, 4 Weeks ago
While recording script in irctc site i need to click on Calender icon (We can enter the date only by clicking on calender icon) how we can parameterise this?or how we can pass the value while script is running?Can anyone explain.
Reply
#2
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi Sambu,
Please try the below code.This code enters the specified date for current month
Code:
iDate=25 'or if you want to enter date at run time use iDate=inputbox("Enter the date")
Browser(...).Page(...).Wedit("html tag:=input","name:=jDatee1").FireEvent "Click"
wait(1)
Browser(...).Page(...).Link("html tag:=A","text:="&iDate,"index:=0").Click
If you want to enter some date for next month, change index value from 0 to 1 and iDate value from 25 to desired date in next month.

Regards,
Ravi
Reply
#3
Solved: 11 Years, 3 Months, 4 Weeks ago

Hi ravi,
Could you please explain the above script in detail.
Reply
#4
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,
The code is written in descriptive programming....For more info on Descriptive programming please go through the content available @
https://www.learnqtp.com/descriptive-pro...implified/
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can we get the Windows application Text box background color Using UFT 11.53 Kuppampattu 3 6,032 06-06-2017, 11:12 AM
Last Post: workrohit08
  object disabled eliass 1 1,721 05-30-2017, 02:28 AM
Last Post: Vichu M J
  How to set a value if webEdit control is disabled? rohit.kum.02@gmail.com 1 3,543 12-30-2015, 12:25 PM
Last Post: vinod123
  Object identified despite having no information mjt 1 2,128 09-14-2015, 08:25 PM
Last Post: mjt
  Need to Validate Text filed is blank after clicking on the Text box balak89 3 4,907 09-13-2015, 12:06 AM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)