fbpx

Unable to type into text box embedded

Unable to type into text box embedded

Home Forums Ask Expert Unable to type into text box embedded

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32660
    Christopher Pinnock
    Participant

      We are trialing zaptest for our web application. It would appear it is unable to detect a textbox embedded as shown below.

      code snip:
      Application(“Ascriptica”).View(“Catalog”).Object(“lblCourseCatalog”).Object(“txtSearch”).Type Datatable.Value(“courseno”)
      Application(“Ascriptica”).Type “{ENTER}”

      result:
      data not inputted into the for.

      #32661
      Sasha ZAP
      Moderator

        Hello cpinnock,

        There may be different reasons why the required text-box cannot be detected, here are some of the reasons:
        1. The parent object (“lblCourseCatalog”) is not being detected properly, this also may be due to different possible reasons:Make sure the object is being detected successfully in the ZAPTEST GUI Map, if it does run the following command: 
        Application(“Ascriptica”).View(“Catalog”).Object(“lblCourseCatalog”).Exist 
        Then check the final test’s results to check if the command passed successfully and the “lblCourseCatalog” was located successfully.

        2. The “txtSearch” object’s borders were not set properly:In some cases the borders may be in such position which ZAPTEST will have difficulties to type a text in it (Or will locate the text-box differently then what is expected):
        You need to change the borders in the ZAPTEST GUI Map which will include the text-box properly (Do a few runs of the command after each change to check if the borders were set properly).

        3. The parent object “lblCourseCatalog” is a dynamic object which appears after certain action orand the “txtSearch” object has dynamic size that changes according to other appeared text-boxes.

        If the above did not help please attach a full page screenshot + the test itself (The *.zap file) so we can check the issue more precisely.

        Also you can refer to our free online ZAPTEST Beginner Tutorial for further help:

        Tutorial

        And to our free online Documentation:
        https://www.zaptest.com/user-zone/product-training  

        Thanks,
        ZAPTEST Team

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo