Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
having problem with date set with SwfCalendar
#1
Solved: 11 Years, 4 Months ago
I'm new to qtp and testing a inhouse .net application. I need to select a date dynamically from the Calendar (i.e., .Net box Calendar). Whenever date changes/triggers/firesup all the rest of the values in the screen automatically changes. I used the below code to set the date in the calendar. It is changing and I can see the 10/01/2008 in the field but it's not triggering/firing up means rest of the values are not changing.
SwfWindow("Form1").SwfCalendar("dateTimePicker1").SetDate "10-Jan-2008"
Do am I missing any other code after the above code? please help me.
Thanks heaps Regards Ram.
#2
Solved: 11 Years, 4 Months ago
If I get your question right, you mean while executing it without QTP your app is working fine, but running it through QTP it is not showing the required fields.
Does your application has a lot of controls? If yes, that might be the reason for the performance problem.
Change the active screen capture level to minimum.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
#3
Solved: 11 Years, 4 Months ago
Thanks Ankur,
Excellent forum & blog.
I found the problem. I'm testing this on ver8.2 and .Net8.2.
Today I tested the same on Ver9.2. Worked perfectly.
Thanks everybody.
Regards
Ram.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Help Datatable Parameterzing Date debindas 1 3,683 08-30-2012, 11:43 PM
Last Post: QTPScript
  How To Select Date From a Calender Image Where Date field is non editable? RameshKrishnan 1 4,046 05-28-2012, 09:29 PM
Last Post: defcon3
  Date Format change mv8167 9 50,084 03-05-2012, 08:54 PM
Last Post: SteveS
  Returned Date Format mv8167 3 5,992 07-06-2011, 09:25 AM
Last Post: rajpes
  Multiple Data Set With Different Child Data Set Suba 2 4,214 04-08-2011, 02:07 AM
Last Post: Suba

Forum Jump:


Users browsing this thread: 1 Guest(s)