fbpx

How to automate drop-down lists inside webtables?

How to automate drop-down lists inside webtables?

Home Forums ZAPTEST Old Posts How to automate drop-down lists inside webtables?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30547
    Jack Smith
    Participant

      Hello Zap,

      We have trouble understanding how to automate drop-down lists inside webtables, please help.

      Thanks.

      #30548
      Sasha ZAP
      Moderator

        Hello JSmithm,

        Thank-you for your question.

        When you have a combo list (Drop-down list) inside a table, to work with this combo list (Meaning, to recognize it and to be able to automate it) we need to define the list as a separate object.

        These are the steps to define a List inside a webtable:

        1. We will define the entire list itself:
        1.1 Select the list as the object type.
        1.2 Select the number of rows in the list.
        1.3 Mark the number of rows.

        2 Select the column of the table where the Combo-lists appear as a separate new object type List (You can also select it as a Table object instead).

        3. When done, in the testing script use the "zapSelectRowCombo" method to select the specific Combo-list object:
        3.1 Provide the List object that we created previously and the row number that is going to be selected.

        4. Select an item from the Combo-list itself:
        4.1 Select an item from the Combo-list using the "zapSelectRowEx" method.

        Please contact Zap for further help.

        Thanks,
        Sasha

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

      Virtual Expert

      ZAPTEST

      ZAPTEST Logo