Micro Focus QTP (UFT) Forums

Full Version: Set method not working for web number object
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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)