Forum Discussion

Egg's avatar
Egg
Frequent Contributor
3 years ago

Data- Driven Loop- when running the second

Hello, I'm doing make many contact using Data-Driven Loop(CSV file) on web site.

contact registration contains many essential field. and also field has combo box. 

Current, My Problem is 

Couldn't select combo box's item When Data Roop runnig the second. 

The error messege is: zero-sized window. 

So I added delay before that action and adjust auto wait time out(15000 ms).

but still couldn't running when the second time. 

 

How can I fix it? 

4 Replies

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Can you provide a relevant code snippet and indicate what line of code errors out?

    Usually, zero-sized window means that the window that was used on the previous iteration was hidden (by setting its size to zero) and new window was created. So to resolve the error one usually needs to get a reference to this new window a-new.

    Also, depending on your test code and tested application, this error might indicate a leaking resource (window).

     

    • Egg's avatar
      Egg
      Frequent Contributor

       

      Your answer is totally right. 

      then, How can I fix it? 

      and The error message is every time changed. 

      If first error message was 'zero sized window' and run again(not fix any one), then that message not appear. 

      Another error comes out another row. β€Œβ€Œ
      It's so tough problem. 

      😭

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        Can you provide your code and indicate what line errors out with the 'zero-size' message?

        What other error appears for what other line?