Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Set method not working for web number object
#1
Solved: 5 Years, 10 Months, 1 Week ago
My developer is rewriting javascript application to Angular using ionic framework .I am trying to update existing object repository.I am seeing that set method is truncating last digit and setting the input value.


say for example I have used Browser().Page().Webnumber().Set “2000”


it’s setting 200 instead of 2000


please help me
Reply
#2
Solved: 5 Years, 10 Months, 1 Week ago
This is a common issue. 

By default, UFT replay type uses events, change that to mouse operations. 

Just before the .Set statement Use


Code:
Setting.WebPackage("ReplayType") = 2 ' This will simulate actual Mouse and keyboard


After the .Set statement change it back to events type



Code:
Setting.WebPackage("ReplayType") = 1 ' This is the default setting (events)
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Working with Web Table Ilayaraja 4 2,991 05-28-2018, 12:50 PM
Last Post: Ilayaraja
  .SET method not working in WEBEDIT Achuth 3 8,083 11-23-2016, 03:34 PM
Last Post: XAnna
  Object Identification not working on Run Time Ajatshatru 2 3,097 05-06-2015, 07:27 PM
Last Post: Ajatshatru
  Unable to set the Start date for SwfCalendar control-using SetDate or Type method mahbub798 0 2,534 03-23-2014, 05:28 AM
Last Post: mahbub798
  I am not able to set the value in Web Edit box using QTP 11. meghna.gandhi24 2 6,125 08-28-2013, 12:37 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)