Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VAlue from datasheet is not being picket up
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,
I have to enter date in a field based on whether that field is enabled or disabed. My coede reads as follows
Code:
Dim FromDateDisabled
FromDateDisabled = Browser("x").Page("y").WebEdit("FromDate").GetROProperty("Disabled")
If FromDateDisabled = False Then
Browser("x").Page("y").WebEdit("FromDate").Set DataTable("FromDate", dtGlobalSheet)
    Else
    Reporter.ReportEvent micPass,"From Date","From Date Disabled"
In this situation, if the disabled = true, Else statement is not picking up and the test fails.
Any hlep is appreciated please!!
Reply


Messages In This Thread
VAlue from datasheet is not being picket up - by Mala - 02-17-2011, 12:59 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  export UFT datasheet to excel and then append Mozza 0 1,893 09-04-2018, 08:58 AM
Last Post: Mozza
  Change the datasheet jsknight1969 4 3,775 10-19-2009, 07:00 AM
Last Post: mhicke
  Set the column header in the excelsheet before importing it to local datasheet nageshpv 2 3,458 08-04-2008, 04:05 PM
Last Post: nageshpv

Forum Jump:


Users browsing this thread: 1 Guest(s)