Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Waitproperty or Checkproperty with micGreaterThan() Code
#1
Not Solved
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"
Reply
#2
Not Solved
Check if the returned value (which is being compared to 0) is integer or a string. 

Also couldn't understand RetVal3 variable.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Click after CheckProperty to a WebElement passed via Function argument fails naruoga 0 1,170 02-28-2019, 11:46 AM
Last Post: naruoga
  WaitProperty does not refresh the object (WebNumber) cantorre 0 1,599 05-10-2017, 06:21 AM
Last Post: cantorre
  [UFT] WpfTable and WaitProperty with RowCount robertosalemi 0 1,991 11-23-2016, 10:55 PM
Last Post: robertosalemi
  Synchronization using waitproperty Nisha 1 2,350 10-29-2016, 09:20 AM
Last Post: supputuri
  SwfToolbar and WaitProperty: how get text robertosalemi 0 1,908 12-14-2015, 08:22 PM
Last Post: robertosalemi

Forum Jump:


Users browsing this thread: 3 Guest(s)