Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VAlue from datasheet is not being picket up
#3
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi,

Please try the below code to get the value

Code:
DataTable.Import("C:\Documents and Settings\qtp\Desktop\Login_Details.xls")
WebVal=DataTable.GetSheet(1).GetParameter("Login").Value
Val=Browser("name:=International").Page("title:=International").WebEdit("name:=Uname").GetROProperty("disabled")
If Val=0 Then
     Browser("name:=International").Page("title:=International").WebEdit("name:=Uname").Set WebVal
else
    Reporter.ReportEvent micFail,"Login user name field ","Login username field is read only"
End If

Thanks,
Rekhapramod
Reply


Messages In This Thread
RE: VAlue from datasheet is not being picket up - by Rekhapramod - 02-17-2011, 03:12 PM

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,461 08-04-2008, 04:05 PM
Last Post: nageshpv

Forum Jump:


Users browsing this thread: 1 Guest(s)