Field Clear and how we check values

Field Clear and how we check values

Home Forums Ask Expert Field Clear and how we check values

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #31369
    Sasha ZAP
    Moderator

      Hello aqu,

      1. To clear out text-box you can just type nothing in it, for example:
      Application(“Application”).View(“View 4”).Object(“Image Object 6”).Type “”

      2. To check a value of an object you can use the “GetText” nethod, for example:
      strText = Application(“App”).View(“View”).Object(“Object”)GetText()

      If the above does not gets the text use the “True” method’s attribute, for example:
      strText = Application(“Demo”).View(“DemoView”).Object(“DemoTextObject”)GetText(true)

      For more help check out our tutorial at:

      Tutorial

      Thanks,
      ZAPTEST Team

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo