Micro Focus QTP (UFT) Forums
Help Waitproperty or Checkproperty with micGreaterThan() Code - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners)
+--- Thread: Help Waitproperty or Checkproperty with micGreaterThan() Code (/Thread-Help-Waitproperty-or-Checkproperty-with-micGreaterThan-Code)



Help Waitproperty or Checkproperty with micGreaterThan() Code - typhoon23 - 08-15-2017

Hi All,

My object is edit and this field fill the amount of comission from comission services when click the button.

I plan to check this field use with property "value" like below but script finished micFail although field's value "50,00".  where is my wrong? Thankyou.


button.click
RetVal=UFT_WaitProperty (Browser("Br_NAR").Page("Pg").Frame("Fr").WebEdit("Edt"),"value","micGreaterThan(0)","30")
If RetVal3 Then
FT_ReportEvent micPass , "getting commisson Successful" , "Passed"
Else 
UFT_ReportEvent micFail , "getting commisson Failed" , "Failed"


RE: Help Waitproperty or Checkproperty with micGreaterThan() Code - Ankur - 08-23-2017

Check if the returned value (which is being compared to 0) is integer or a string. 

Also couldn't understand RetVal3 variable.