Forum Discussion

jpantoja19's avatar
jpantoja19
Occasional Contributor
8 years ago
Solved

Text editor field NOT becoming enabled on keyword test playback?

I have a web application in which I created a keyword test (javascript) to create a new employer account. When I enter a new employer name in the 'Employer Name' field the 'Add New Employer' button becomes enabled for selection. However on the keyword test playback after the employer name is entered the 'Add New Employer' button is not becoming enabled and therefore bombing because it can't click on it.

  • Hi,

     

    I expect that keyword test enters employer's name using the .SetText() method. If this is the case, replace .SetText() with .Keys() method call and check if this helps.

9 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    I expect that keyword test enters employer's name using the .SetText() method. If this is the case, replace .SetText() with .Keys() method call and check if this helps.

    • jpantoja19's avatar
      jpantoja19
      Occasional Contributor

      Thank You... this simple modification worked.

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Great, thank you for the update.

         

        P.S. Change Tools | Options | Engines | Recording | Record text input into simple editors as  option to 'Keys' to prevent this problem with future recordings.