Need to correct my test script

Need to correct my test script

Home Forums Ask Expert Need to correct my test script

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31881
    Kirill Bulatnikov
    Participant

      Hello Tam. Thanks for using ZAPTEST

      For your case I suggest following:
      1. Calculated value is out of the integer range (-32768 to 32767), so you need to use Double
      2.Do you have comma separation within calc? (like I do) If yes you have to remove commas by using “replace” function

      Thus it will looks like
      result = CDbl(replace((Application(“Caculator”).View(“View”).Object(“= Standard”).Object(“0 1″).GetText),”,”,””))

      Hope that helps.
      Thanks,
      ZAPTEST Team

      #31884
      Tam Nguyen
      Participant

        Thank you for your support!!!!
        My test script works correctly.

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo