Field Clear and how we check values
- This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by
Sasha ZAP.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Ask Expert › Field Clear and how we check values
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:
Thanks,
ZAPTEST Team
Already have an account? Login
Check you SPAM folder if you do not see the email.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |