Data driven testing Introduction You may extend the

  • Slides: 72
Download presentation
Data driven testing Introduction You may extend the use of the replay functionality to

Data driven testing Introduction You may extend the use of the replay functionality to perform data driven testing. Data driven testing is useful when you want to test a certain process multiple times, feeding the same flow with different data entries.

Data driven testing Record the test flow First you need to record the full

Data driven testing Record the test flow First you need to record the full flow of your test case. In this example, we want to test the creation of multiple customers in our system.

Data driven testing Record the test flow Click on the button New. You may

Data driven testing Record the test flow Click on the button New. You may also press Alt+N.

Data driven testing Record the test flow Click on the button Record. You may

Data driven testing Record the test flow Click on the button Record. You may also press Alt+R.

Data driven testing Record the test flow Click on the button Ok. You may

Data driven testing Record the test flow Click on the button Ok. You may also press Alt+O.

Data driven testing Record the test flow Click on the button Yes. You may

Data driven testing Record the test flow Click on the button Yes. You may also press Alt+Y.

Data driven testing Record the test flow Click on the tab Home.

Data driven testing Record the test flow Click on the tab Home.

Data driven testing Record the test flow Click on the folder Customers.

Data driven testing Record the test flow Click on the folder Customers.

Data driven testing Record the test flow Click on the button New.

Data driven testing Record the test flow Click on the button New.

Data driven testing Record the test flow Click on the input field Name.

Data driven testing Record the test flow Click on the input field Name.

Data driven testing Record the test flow Enter Name.

Data driven testing Record the test flow Enter Name.

Data driven testing Record the test flow Click on the input field Address.

Data driven testing Record the test flow Click on the input field Address.

Data driven testing Record the test flow Enter Address.

Data driven testing Record the test flow Enter Address.

Data driven testing Record the test flow Click on the button Ok.

Data driven testing Record the test flow Click on the button Ok.

Data driven testing Record the test flow Stop the recorder by pressing the two

Data driven testing Record the test flow Stop the recorder by pressing the two control keys and save the recording.

Data driven testing Record the test flow Enter the text New customer.

Data driven testing Record the test flow Enter the text New customer.

Data driven testing Record the test flow Click on the button Save. You may

Data driven testing Record the test flow Click on the button Save. You may also press Alt+S.

Data driven testing Use Excel to define the data Let's look at a sample

Data driven testing Use Excel to define the data Let's look at a sample Excel workbook, where we have defined 3 customers with a name and address.

Data driven testing Use Excel to define the data Click on the button Excel

Data driven testing Use Excel to define the data Click on the button Excel 2013.

Data driven testing Use Excel to define the data Click on the link C:

Data driven testing Use Excel to define the data Click on the link C: UsersMichael OlsenDesktopCustomers. Repeater. xlsx.

Data driven testing Use Excel to define the data First, it is important that

Data driven testing Use Excel to define the data First, it is important that you notice the name of the sheet we have in the workbook.

Data driven testing Use Excel to define the data Click on the tab Sheet

Data driven testing Use Excel to define the data Click on the tab Sheet 1.

Data driven testing Use Excel to define the data Secondly, make sure that the

Data driven testing Use Excel to define the data Secondly, make sure that the data itself is defined starting at row 2. Row 1 is used as heading. The Cell A contains the name and the Cell B contains the address.

Data driven testing Use Excel to define the data Click on the cell B

Data driven testing Use Excel to define the data Click on the cell B 2 with the value Adr 1

Data driven testing Use Excel to define the data Click on the button Close.

Data driven testing Use Excel to define the data Click on the button Close.

Data driven testing Link recording and data We need to make the recording aware

Data driven testing Link recording and data We need to make the recording aware of the data we want to use.

Data driven testing Link recording and data Click on the button Edit. You may

Data driven testing Link recording and data Click on the button Edit. You may also press Alt+D.

Data driven testing Link recording and data Click on the menu Replay (Quality Assurance)

Data driven testing Link recording and data Click on the menu Replay (Quality Assurance) role.

Data driven testing Link recording and data This role is ideal when working with

Data driven testing Link recording and data This role is ideal when working with test cases. The preview to the right gives a clear view of the steps involving data.

Data driven testing Link recording and data To the left, we have all the

Data driven testing Link recording and data To the left, we have all the steps from our recorded session. What we want to do now is to group a number of steps into a repeater, which we will link to our data, defined in the Excel workbook.

Data driven testing Link recording and data Click on the first step that needs

Data driven testing Link recording and data Click on the first step that needs to be repeated

Data driven testing Link recording and data Click on the last step to be

Data driven testing Link recording and data Click on the last step to be repeated.

Data driven testing Link recording and data Click on the dropdown button of the

Data driven testing Link recording and data Click on the dropdown button of the button named Group.

Data driven testing Link recording and data Click on the menu Repeater.

Data driven testing Link recording and data Click on the menu Repeater.

Data driven testing Link recording and data First, we need to locate the Excel

Data driven testing Link recording and data First, we need to locate the Excel workbook.

Data driven testing Link recording and data Click on the button. .

Data driven testing Link recording and data Click on the button. .

Data driven testing Link recording and data Click on the list element Customers. Repeater.

Data driven testing Link recording and data Click on the list element Customers. Repeater. xlsx.

Data driven testing Link recording and data Click on the split button Open. You

Data driven testing Link recording and data Click on the split button Open. You may also press Alt+O.

Data driven testing Link recording and data Then, we need to provide the name

Data driven testing Link recording and data Then, we need to provide the name of the sheet to use from the workbook.

Data driven testing Link recording and data Click on the input field Custom parameter.

Data driven testing Link recording and data Click on the input field Custom parameter.

Data driven testing Link recording and data Enter Custom parameter.

Data driven testing Link recording and data Enter Custom parameter.

Data driven testing Link recording and data Click on the button OK. You may

Data driven testing Link recording and data Click on the button OK. You may also press Alt+O.

Data driven testing Link recording and data You have to replace the fixed entered

Data driven testing Link recording and data You have to replace the fixed entered data from the recording session.

Data driven testing Link recording and data Click on the link Name

Data driven testing Link recording and data Click on the link Name

Data driven testing Link recording and data Fixed values, such as keyboard input, become

Data driven testing Link recording and data Fixed values, such as keyboard input, become data driven, by referring to the data using the function named Get. Repeater. Value. This function has one parameter, which is the name of the cell.

Data driven testing Link recording and data Enter the text Get. Repeater. Value(A).

Data driven testing Link recording and data Enter the text Get. Repeater. Value(A).

Data driven testing Link recording and data Click on the button OK. You may

Data driven testing Link recording and data Click on the button OK. You may also press Alt+O.

Data driven testing Link recording and data Click on the link Address

Data driven testing Link recording and data Click on the link Address

Data driven testing Link recording and data Click on the input field Keystrokes as

Data driven testing Link recording and data Click on the input field Keystrokes as text.

Data driven testing Link recording and data Enter the text Get. Repeater. Value(B).

Data driven testing Link recording and data Enter the text Get. Repeater. Value(B).

Data driven testing Link recording and data Click on the button OK. You may

Data driven testing Link recording and data Click on the button OK. You may also press Alt+O.

Data driven testing Link recording and data When done, you may save the recording,

Data driven testing Link recording and data When done, you may save the recording, which is now ready to run.

Data driven testing Link recording and data Click on the menu File. You may

Data driven testing Link recording and data Click on the menu File. You may also press Alt+F.

Data driven testing Link recording and data Click on the menu Close.

Data driven testing Link recording and data Click on the menu Close.

Data driven testing Link recording and data Click on the button Yes. You may

Data driven testing Link recording and data Click on the button Yes. You may also press Alt+Y.

Data driven testing Run the test Click on the button Replay. You may also

Data driven testing Run the test Click on the button Replay. You may also press Alt+R.

Data driven testing Run the test Click on the button Yes. You may also

Data driven testing Run the test Click on the button Yes. You may also press Alt+Y.

Data driven testing Run the test Click on the button Ok. You may also

Data driven testing Run the test Click on the button Ok. You may also press Alt+O.

Data driven testing Run the test The replay will now run the test. In

Data driven testing Run the test The replay will now run the test. In this case it will repeat the creation of a new customer 3 times.

Data driven testing Run the test Click on the button OK.

Data driven testing Run the test Click on the button OK.

Data driven testing How to produce documentation for all data entries By default, when

Data driven testing How to produce documentation for all data entries By default, when using the repeater group feature, the produced material will only show the first data entry performed in the test run.

Data driven testing How to produce documentation for all data entries However, you will

Data driven testing How to produce documentation for all data entries However, you will be able to change this, so that Click. Learn may produce the written and visual documentation for all data entries performed in the test.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the button Edit. You may also press Alt+D.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the menu Replay (Quality Assurance) role.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the menu Writer role.

Data driven testing How to produce documentation for all data entries Double click on

Data driven testing How to produce documentation for all data entries Double click on the folder Repeat steps according to a Vb. Script: Content=Produce first; Custom file=Customers. Repeater. xlsx; Custom parameter=Sheet 1.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the combobox.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the list element Produce all.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the button OK. You may also press Alt+O.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the menu File. You may also press Alt+F.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the menu Close.

Data driven testing How to produce documentation for all data entries Click on the

Data driven testing How to produce documentation for all data entries Click on the button Yes. You may also press Alt+Y.